2012-06-15 08:51:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2012/06/15 12:51:32 ajacoutot Exp $
|
2006-07-13 12:18:40 -04:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= MPEG-2 and MPEG-4 AAC encoder
|
2011-06-29 16:50:49 -04:00
|
|
|
|
2011-06-29 06:57:17 -04:00
|
|
|
DISTNAME= faac-1.28
|
2012-06-15 08:51:32 -04:00
|
|
|
REVISION= 4
|
2006-07-13 12:18:40 -04:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
|
2011-06-29 16:50:49 -04:00
|
|
|
|
2008-09-15 18:00:38 -04:00
|
|
|
SHARED_LIBS += faac 1.0 # .0.0
|
2006-07-13 12:18:40 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.audiocoding.com/
|
|
|
|
|
2011-06-29 16:50:49 -04:00
|
|
|
# LGPLv2 + MPEG reference (incompatible)
|
2012-06-15 08:51:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Cannot distribute
|
|
|
|
PERMIT_PACKAGE_FTP= Cannot distribute
|
2007-09-15 17:26:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Patents
|
2006-07-13 12:18:40 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-09-05 06:25:16 -04:00
|
|
|
|
2011-06-29 16:50:49 -04:00
|
|
|
WANTLIB= c m stdc++ mp4v2>=3
|
2006-07-13 12:18:40 -04:00
|
|
|
|
2010-06-23 12:57:30 -04:00
|
|
|
# uses macros from libtool.m4
|
2011-06-29 16:50:49 -04:00
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
devel/libtool
|
2012-05-08 08:49:45 -04:00
|
|
|
LIB_DEPENDS= multimedia/libmp4v2>=1.9.1
|
2006-07-13 12:18:40 -04:00
|
|
|
|
2011-06-29 16:50:49 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
2011-06-29 06:57:17 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-06-29 16:50:49 -04:00
|
|
|
AUTOCONF_VERSION= 2.61
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
2011-06-30 03:39:09 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2006-07-13 12:18:40 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-patch:
|
2011-06-29 16:50:49 -04:00
|
|
|
@cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
2006-07-13 12:18:40 -04:00
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} PATH=${PORTPATH} \
|
|
|
|
sh bootstrap
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|