openbsd-ports/audio/faac/Makefile
jasper 7f9dab56ca Fix the autoconf/automake macro bits so the external libmp4v2 support
works as expected. Also from brads update.
2011-06-30 07:39:09 +00:00

43 lines
1023 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/06/30 07:39:09 jasper Exp $
COMMENT= MPEG-2 and MPEG-4 AAC encoder
DISTNAME= faac-1.28
REVISION= 0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
SHARED_LIBS += faac 1.0 # .0.0
HOMEPAGE= http://www.audiocoding.com/
# LGPLv2 + MPEG reference (incompatible)
PERMIT_PACKAGE_CDROM= Patents
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Patents
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++ mp4v2>=3
# uses macros from libtool.m4
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
LIB_DEPENDS= multimedia/libmp4v2
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
AUTOCONF_VERSION= 2.61
AUTOMAKE_VERSION= 1.9
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} PATH=${PORTPATH} \
sh bootstrap
.include <bsd.port.mk>