aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-05-04 07:55:56 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-05-04 07:55:56 +0000
commitf38d0e0caf4ca19c9c053add165de3e561a4695f (patch)
tree61eaba864811a5511b9f03392b34a4c75601e19c /multimedia
parentb55bdd68921cbaae4f5e6768bfae040eaecfb552 (diff)
downloadports-f38d0e0caf4ca19c9c053add165de3e561a4695f.tar.gz
ports-f38d0e0caf4ca19c9c053add165de3e561a4695f.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/Makefile12
-rw-r--r--multimedia/x264/Makefile12
2 files changed, 18 insertions, 6 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index da36bea08098..830df78fc4f1 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20050421
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_LOCAL:S|$|ahze/|}
# http://download.videolan.org/pub/videolan/contrib/ \
@@ -32,11 +33,12 @@ PLIST_FILES= bin/x264 \
lib/libx264.so \
lib/libx264.so.${SHLIB_VER}
-OPTIONS= DEBUG "Enable Debugging" Off \
+OPTIONS= GPAC "Enable MPEG-4 Output" On \
+ DEBUG "Enable Debugging" Off \
OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
-CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC" \
- --extra-ldflags="${LDFLAGS}"
+CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/include" \
+ --extra-ldflags="${LDFLAGS} -L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
@@ -58,6 +60,10 @@ CONFIGURE_ARGS+= --enable-debug
CFLAGS+= -O2 -funroll-loops -ffast-math
.endif
+.if !defined(WITHOUT_GPAC)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libm4systems_static.a:${PORTSDIR}/multimedia/gpac-libm4systems
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x264 ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/x264.h ${PREFIX}/include
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index da36bea08098..830df78fc4f1 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -7,6 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20050421
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_LOCAL:S|$|ahze/|}
# http://download.videolan.org/pub/videolan/contrib/ \
@@ -32,11 +33,12 @@ PLIST_FILES= bin/x264 \
lib/libx264.so \
lib/libx264.so.${SHLIB_VER}
-OPTIONS= DEBUG "Enable Debugging" Off \
+OPTIONS= GPAC "Enable MPEG-4 Output" On \
+ DEBUG "Enable Debugging" Off \
OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
-CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC" \
- --extra-ldflags="${LDFLAGS}"
+CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/include" \
+ --extra-ldflags="${LDFLAGS} -L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
@@ -58,6 +60,10 @@ CONFIGURE_ARGS+= --enable-debug
CFLAGS+= -O2 -funroll-loops -ffast-math
.endif
+.if !defined(WITHOUT_GPAC)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libm4systems_static.a:${PORTSDIR}/multimedia/gpac-libm4systems
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x264 ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/x264.h ${PREFIX}/include