aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-05-02 06:26:45 +0800
committerahze <ahze@FreeBSD.org>2007-05-02 06:26:45 +0800
commitc06dfe225d911f2e65d0f11b4cd2f30f77398ac8 (patch)
tree392e3d01a7cccb08844e02d47c9255776b53d525
parentccb43fe34189abb97c934979cbc7e180d8603d0a (diff)
downloadfreebsd-ports-gnome-c06dfe225d911f2e65d0f11b4cd2f30f77398ac8.tar.gz
freebsd-ports-gnome-c06dfe225d911f2e65d0f11b4cd2f30f77398ac8.tar.zst
freebsd-ports-gnome-c06dfe225d911f2e65d0f11b4cd2f30f77398ac8.zip
Build and install avc2avi
PR: ports/112186 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
-rw-r--r--multimedia/x264-devel/Makefile8
-rw-r--r--multimedia/x264-devel/pkg-plist1
-rw-r--r--multimedia/x264/Makefile8
-rw-r--r--multimedia/x264/pkg-plist1
4 files changed, 16 insertions, 2 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 0f3d40815c58..0e560374014e 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20070402
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -85,8 +85,14 @@ post-patch:
${WRKSRC}/Makefile \
${WRKSRC}/*/Makefile
+post-build:
+ cd ${WRKSRC}/tools && ${MAKE} avc2avi
+
pre-install:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/x264.pc
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/avc2avi ${PREFIX}/bin
+
.include <bsd.port.post.mk>
diff --git a/multimedia/x264-devel/pkg-plist b/multimedia/x264-devel/pkg-plist
index 52b74f4877ca..6a42a46b07d3 100644
--- a/multimedia/x264-devel/pkg-plist
+++ b/multimedia/x264-devel/pkg-plist
@@ -1,4 +1,5 @@
bin/x264
+bin/avc2avi
%%GTK%%bin/x264_gtk_encode
include/x264.h
%%GTK%%include/x264_gtk.h
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index 0f3d40815c58..0e560374014e 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -7,7 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20070402
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -85,8 +85,14 @@ post-patch:
${WRKSRC}/Makefile \
${WRKSRC}/*/Makefile
+post-build:
+ cd ${WRKSRC}/tools && ${MAKE} avc2avi
+
pre-install:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/x264.pc
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/avc2avi ${PREFIX}/bin
+
.include <bsd.port.post.mk>
diff --git a/multimedia/x264/pkg-plist b/multimedia/x264/pkg-plist
index 52b74f4877ca..6a42a46b07d3 100644
--- a/multimedia/x264/pkg-plist
+++ b/multimedia/x264/pkg-plist
@@ -1,4 +1,5 @@
bin/x264
+bin/avc2avi
%%GTK%%bin/x264_gtk_encode
include/x264.h
%%GTK%%include/x264_gtk.h