Makefile 995 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.59 2016/08/30 12:29:17 jasper Exp $
  2. # gcc -iquote
  3. NOT_FOR_ARCHS= ${GCC3_ARCHS}
  4. COMMENT= MPEG-2 and MPEG-4 AAC decoder
  5. V= 2.7
  6. DISTNAME= faad2-${V}
  7. PKGNAME= faad-${V}
  8. REVISION= 2
  9. CATEGORIES= audio
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
  11. EXTRACT_SUFX= .tar.bz2
  12. SHARED_LIBS= faad 3.0 \
  13. mp4ff 2.0
  14. HOMEPAGE= http://www.audiocoding.com/
  15. # GPLv2+
  16. PERMIT_PACKAGE_CDROM= Patents
  17. PERMIT_PACKAGE_FTP= Yes
  18. WANTLIB= c m
  19. # bootstrap checks for libtoolize
  20. BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} \
  21. ${MODGNU_AUTOMAKE_DEPENDS} \
  22. devel/libtool
  23. USE_GMAKE= Yes
  24. CONFIGURE_STYLE= gnu
  25. AUTOCONF_VERSION= 2.61
  26. AUTOMAKE_VERSION= 1.9
  27. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  28. LDFLAGS="-L${LOCALBASE}/lib"
  29. post-extract:
  30. @mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
  31. post-patch:
  32. @cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  33. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} PATH=${PORTPATH} \
  34. sh bootstrap
  35. .include <bsd.port.mk>