aboutsummaryrefslogtreecommitdiff
path: root/audio/bmp-faad/Makefile
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2006-02-23 10:40:44 +0000
committerAde Lovett <ade@FreeBSD.org>2006-02-23 10:40:44 +0000
commit8503536d3896846d823f7f76be54e0a99da8d8b6 (patch)
tree1a89e4038216ead71b008f2a5091474964e1c341 /audio/bmp-faad/Makefile
parentc20d04e3929dbe1763fc1dfaaa677c2353cd7883 (diff)
downloadports-8503536d3896846d823f7f76be54e0a99da8d8b6.tar.gz
ports-8503536d3896846d823f7f76be54e0a99da8d8b6.zip
Notes
Diffstat (limited to 'audio/bmp-faad/Makefile')
-rw-r--r--audio/bmp-faad/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile
index 8dabcbc5e6ee..1bbb5638b42a 100644
--- a/audio/bmp-faad/Makefile
+++ b/audio/bmp-faad/Makefile
@@ -7,7 +7,7 @@
PORTNAME= faad2
PORTVERSION= 2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
@@ -16,6 +16,7 @@ PKGNAMEPREFIX= bmp-
MAINTAINER= ahze@FreeBSD.org
COMMENT= Beep Media Player (BMP) plugin for faad
+PATCH_DEPENDS= ${AUTOMAKE_DEPENDS} ${AUTOCONF_DEPENDS} ${LIBTOOL_DEPENDS}
LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
faad.0:${PORTSDIR}/audio/faad \
mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \
@@ -23,7 +24,7 @@ LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_AUTOTOOLS= automake:15 autoheader:253 autoconf:253 libtool:13:inc
+USE_AUTOTOOLS= automake:15 autoheader:253 autoconf:253 libtool:15
AUTOMAKE_ARGS= --add-missing
USE_X_PREFIX= yes
USE_GMAKE= yes
@@ -37,15 +38,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} -DHAVE_GTK" \
DESCR= ${PORTSDIR}/audio/faad/pkg-descr
MD5_FILE= ${PORTSDIR}/audio/faad/distinfo
-PLIST_FILES= lib/bmp/Input/libmp4.so
+PLIST_FILES= lib/bmp/Input/libmp4.a \
+ lib/bmp/Input/libmp4.la \
+ lib/bmp/Input/libmp4.so
BUILD_WRKSRC= ${WRKSRC}/plugins/xmms/src
INSTALL_WRKSRC= ${WRKSRC}/plugins/xmms/src
.include <bsd.port.pre.mk>
-pre-patch: build-depends
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/plugins/xmms/src/Makefile.am
@${REINPLACE_CMD} -e 's|"faad.h"|<faad.h>|; s|"mp4.h"|<mp4.h>|' \
@@ -55,7 +56,7 @@ post-patch:
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
@${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
- ${WRKSRC}/aclocal.m4
+ -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
# CFLAGS safeness
@${FIND} ${WRKSRC} -type f -name Makefile.am | \
${XARGS} -n 5 -x \