2003-12-29 08:17:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2003/12/29 13:17:53 espie Exp $
|
2002-11-13 12:50:13 -05:00
|
|
|
|
|
|
|
COMMENT= "MPEG2 and MPEG-4 AAC decoder"
|
|
|
|
|
|
|
|
DISTNAME= faad2-1.1
|
|
|
|
PKGNAME= faad-2.1.1
|
2002-12-20 18:40:13 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://faac.sourceforge.net/
|
2002-11-13 12:50:13 -05:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Patents
|
2003-05-18 20:10:36 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2002-11-13 12:50:13 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Patents
|
2003-05-18 20:10:36 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2002-11-13 12:50:13 -05:00
|
|
|
|
2002-12-20 18:40:13 -05:00
|
|
|
MASTER_SITES= http://faac.sourceforge.net/files/
|
2002-11-13 12:50:13 -05:00
|
|
|
|
2002-12-20 18:40:13 -05:00
|
|
|
LIB_DEPENDS= sndfile:libsndfile->=1.0.1:audio/libsndfile
|
2002-11-13 12:50:13 -05:00
|
|
|
|
2003-02-15 11:42:22 -05:00
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
|
2002-12-20 18:40:13 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2002-11-13 12:50:13 -05:00
|
|
|
|
2002-12-20 18:40:13 -05:00
|
|
|
WRKDIST= ${WRKDIR}/faad2
|
2003-02-15 11:42:22 -05:00
|
|
|
CONFIGURE_STYLE= automake
|
2003-02-15 09:19:19 -05:00
|
|
|
AUTOCONF_VERSION=2.13
|
2002-12-20 18:40:13 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2003-02-15 09:19:19 -05:00
|
|
|
LIBS="-lm" \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
2002-11-13 12:50:13 -05:00
|
|
|
|
2003-08-24 17:27:30 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
PATCH_LIST= patch-* gcc-*
|
|
|
|
.endif
|
|
|
|
|
2003-12-29 08:17:53 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_GCC3?=No
|
|
|
|
.if ${USE_GCC3:L} == "yes"
|
|
|
|
MAKE_FLAGS+=libmp4v2_la_LIBADD=-lsupc++
|
|
|
|
.endif
|
|
|
|
|
2002-11-13 12:50:13 -05:00
|
|
|
post-patch:
|
2003-10-19 16:51:43 -04:00
|
|
|
@cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
PATH=${PORTPATH} sh bootstrap
|
2002-11-13 12:50:13 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|