aboutsummaryrefslogtreecommitdiff
path: root/multimedia
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
parent4ea56a95e353109a8a99195cb649919a6a8a31db (diff)
downloadports-ef7eb3872b93b09698745c206550a9ee0789de98.tar.gz
ports-ef7eb3872b93b09698745c206550a9ee0789de98.zip
Notes
Diffstat (limited to 'multimedia')
-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