Makefile 721 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.25 2016/03/11 19:59:11 naddy Exp $
  2. COMMENT = free library for decoding ATSC A/52 streams, aka AC-3
  3. V = 0.7.5
  4. # 0.7.5-cvs
  5. DISTNAME = a52dec-snapshot
  6. PKGNAME = liba52-${V}
  7. REVISION = 2
  8. CATEGORIES = audio
  9. MASTER_SITES = http://comstyle.com/source/
  10. SHARED_LIBS = a52 1.0
  11. HOMEPAGE = http://liba52.sourceforge.net/
  12. MAINTAINER = Marc Espie <espie@openbsd.org>
  13. # GPLv2+
  14. PERMIT_PACKAGE_CDROM = Yes
  15. WANTLIB = c m sndio
  16. WRKDIST = ${WRKDIR}/a52dec-${V}-cvs
  17. SEPARATE_BUILD = Yes
  18. CONFIGURE_STYLE = autoconf
  19. AUTOCONF_VERSION = 2.59
  20. CONFIGURE_ARGS += --disable-oss
  21. MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autotools
  22. post-extract:
  23. @cp ${FILESDIR}/audio_out_sndio.c ${WRKSRC}/libao
  24. .include <bsd.port.mk>