openbsd-ports/audio/faad/Makefile

40 lines
894 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2003/10/19 20:51:43 sturm Exp $
COMMENT= "MPEG2 and MPEG-4 AAC decoder"
DISTNAME= faad2-1.1
PKGNAME= faad-2.1.1
CATEGORIES= audio
HOMEPAGE= http://faac.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Patents
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Patents
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://faac.sourceforge.net/files/
LIB_DEPENDS= sndfile:libsndfile->=1.0.1:audio/libsndfile
2003-02-15 11:42:22 -05:00
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
USE_LIBTOOL= Yes
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
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
2003-02-15 09:19:19 -05:00
LIBS="-lm" \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
post-patch:
@cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
PATH=${PORTPATH} sh bootstrap
.include <bsd.port.mk>