summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2009-02-21 22:59:59 +0000
committerbeech <beech@FreeBSD.org>2009-02-21 22:59:59 +0000
commitab5ddcf0f5df1626e46050d30dfd9a44053e4cce (patch)
treefbf679f27662c727880960e3c681645bfcd85f34
parent6c8b884a2149f406b023cf190987eb9bd25b1f70 (diff)
downloadFreeBSD-ports-ab5ddcf0f5df1626e46050d30dfd9a44053e4cce.zip
FreeBSD-ports-ab5ddcf0f5df1626e46050d30dfd9a44053e4cce.tar.gz
- Change audio/bmp-faad to slave port of audio/xmms-faad
PR: ports/131836 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--audio/bmp-faad/Makefile46
-rw-r--r--audio/bmp-faad/distinfo3
2 files changed, 2 insertions, 47 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile
index 9a7ec82..a51026e 100644
--- a/audio/bmp-faad/Makefile
+++ b/audio/bmp-faad/Makefile
@@ -5,53 +5,11 @@
# $FreeBSD$
#
-PORTNAME= faad2
-PORTVERSION= 2.6.1
-PORTREVISION= 2
-CATEGORIES= audio
-MASTER_SITES= SF/faac
PKGNAMEPREFIX= bmp-
MAINTAINER= ports@FreeBSD.org
COMMENT= Beep Media Player (BMP) plugin for faad
-LIB_DEPENDS= faad.2:${PORTSDIR}/audio/faad \
- beep.2:${PORTSDIR}/multimedia/beep-media-player
+MASTERDIR= ${.CURDIR}/../xmms-faad
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-USE_GNOME= gnometarget gtk20
-USE_GMAKE= yes
-USE_AUTOTOOLS= automake:15 autoheader:262 autoconf:262 libtool:15
-AUTOMAKE_ARGS= --add-missing
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-DESCR= ${PORTSDIR}/audio/faad/pkg-descr
-PLIST_FILES= lib/bmp/Input/libmp4.so
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${REINPLACE_CMD} -e '/AC_CONFIG_FILES(plugins/d' ${WRKSRC}/configure.in
- @${REINPLACE_CMD} -e 's|"faad.h"|<faad.h>|g ; \
- s|<xmms/|<bmp/|g' ${WRKSRC}/plugins/xmms/src/mp4_utils.c
- @${ECHO_CMD} "SUBDIRS = common" > ${WRKSRC}/Makefile.am
-
-pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
- && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake
-
-post-build:
- cd ${WRKSRC}/plugins/xmms/src && ${CC} ${CFLAGS} -fPIC -shared \
- -DHAVE_BMP -I../../../common/mp4ff -I${LOCALBASE}/include \
- `pkg-config --cflags bmp` *.c -o libmp4.so \
- ../../../common/mp4ff/.libs/libmp4ff.a \
- -L${LOCALBASE}/lib -lfaad \
- `pkg-config --libs bmp`
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/plugins/xmms/src/libmp4.so \
- ${PREFIX}/lib/bmp/Input
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile.inc"
diff --git a/audio/bmp-faad/distinfo b/audio/bmp-faad/distinfo
deleted file mode 100644
index c8d49a9..0000000
--- a/audio/bmp-faad/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (faad2-2.6.1.tar.gz) = 74e92df40c270f216a8305fc87603c8a
-SHA256 (faad2-2.6.1.tar.gz) = 8ad2c2e0c09b787a943e2ef831c1c84534e3a8726cc1eb1abc4da9eb3038285c
-SIZE (faad2-2.6.1.tar.gz) = 839410
OpenPOWER on IntegriCloud