openbsd-ports/audio/faac/Makefile
ajacoutot 7dbf78c497 One pack/push #pragma's was missed in previous.
Add missing RCS Id.

from Brad.
2011-10-18 08:40:55 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2011/10/18 08:40:55 ajacoutot Exp $
COMMENT= MPEG-2 and MPEG-4 AAC encoder
DISTNAME= faac-1.28
REVISION= 2
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>