2007-09-15 17:26:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/09/15 21:26:01 simon 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
|
2006-07-13 12:18:40 -04:00
|
|
|
DISTNAME= faac-1.24
|
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
|
2006-10-28 06:30:41 -04:00
|
|
|
SHARED_LIBS += faac 0.0 # .0.0
|
2006-07-13 12:18:40 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.audiocoding.com/
|
|
|
|
|
|
|
|
# GPL
|
2007-09-15 17:26:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Patents
|
2006-07-13 12:18:40 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 17:26:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Patents
|
2006-07-13 12:18:40 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m stdc++
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
|
2006-08-01 07:17:55 -04:00
|
|
|
LIB_DEPENDS= mp4v2.>=1::audio/faad
|
2006-07-13 12:18:40 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/faac
|
|
|
|
CONFIGURE_STYLE= automake
|
|
|
|
AUTOCONF_VERSION=2.59
|
|
|
|
AUTOMAKE_VERSION=1.4
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--without-mp4v2
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@touch ${WRKSRC}/frontend/dummy.cc
|
|
|
|
@cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} PATH=${PORTPATH} \
|
|
|
|
sh bootstrap
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|