summaryrefslogtreecommitdiff
path: root/audio/faad
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-12 13:23:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-12 13:23:47 +0000
commitcfe6265d5b79113e11b5f990d6ce537d69f12332 (patch)
tree694208270c5d1eb11f7376c441f0313fdbf70d9b /audio/faad
parentAdd up-imapproxy (diff)
- configure --with-drm
- Makefile cleanup - Pass maintainership to submitter PR: ports/66543 Submitted by: michael johnson <ahze@ahze.net> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=109003
Diffstat (limited to 'audio/faad')
-rw-r--r--audio/faad/Makefile17
-rw-r--r--audio/faad/distinfo1
2 files changed, 8 insertions, 10 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index b57202987c39..648a1a934d95 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -7,13 +7,13 @@
PORTNAME= faad2
PORTVERSION= 2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
DISTNAME= ${PORTNAME}-${PORTVERSION}-rc3
-MAINTAINER= sean@sfarc.net
+MAINTAINER= ahze@ahze.net
COMMENT= A LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile
@@ -22,16 +22,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_AUTOMAKE_VER= 15
USE_AUTOHEADER= yes
-USE_AUTOHEADER= yes
AUTOMAKE_ARGS= --add-missing
-
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 13
USE_REINPLACE= yes
-CONFIGURE_ARGS= --program-transform-name='' --with-mp4v2
+CONFIGURE_ARGS= --with-mp4v2 --with-drm
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
@@ -44,6 +43,8 @@ post-patch:
# pre-configure will not work since *AUTO* tools happen in-between
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
+ @${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
+ ${WRKSRC}/aclocal.m4
# CFLAGS safeness
@${FIND} ${WRKSRC} -type f -name Makefile.am | \
${XARGS} -n 5 -x \
@@ -57,8 +58,4 @@ post-configure:
post-install:
@${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include
-.include <bsd.port.pre.mk>
-
-CONFIGURE_ARGS+= --build=${CONFIGURE_TARGET}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/faad/distinfo b/audio/faad/distinfo
index 32b3c0c4be5e..7757252578de 100644
--- a/audio/faad/distinfo
+++ b/audio/faad/distinfo
@@ -1 +1,2 @@
MD5 (faad2-2.0-rc3.tar.gz) = 0080076438655ed7facf1089a9805aff
+SIZE (faad2-2.0-rc3.tar.gz) = 704005