aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-05-01 22:26:45 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-05-01 22:26:45 +0000
commitef7eb3872b93b09698745c206550a9ee0789de98 (patch)
treedb665f3146ca5a3d5cf17480129983fbd30eba98 /multimedia/x264
parent4ea56a95e353109a8a99195cb649919a6a8a31db (diff)
downloadports-ef7eb3872b93b09698745c206550a9ee0789de98.tar.gz
ports-ef7eb3872b93b09698745c206550a9ee0789de98.zip
Notes
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