aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264')
-rw-r--r--multimedia/x264/Makefile8
-rw-r--r--multimedia/x264/pkg-plist1
2 files changed, 8 insertions, 1 deletions
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