ports/112186: [PATCH] multimedia/x264: add the avc2avi tool
Jui-Nan Lin
jnlin at csie.nctu.edu.tw
Fri Apr 27 17:30:05 UTC 2007
>Number: 112186
>Category: ports
>Synopsis: [PATCH] multimedia/x264: add the avc2avi tool
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 27 17:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jui-Nan Lin
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Florence.tamama.org 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Jan 14 16:22:16 CST 2007
>Description:
[DESCRIBE CHANGES]
- Install the avc2avi tool included in x264 source package.
Port maintainer (multimedia at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- x264-0.0.20070402_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/x264/Makefile /home/jnlin/ports/x264/Makefile
--- /usr/ports/multimedia/x264/Makefile Tue Apr 3 21:28:49 2007
+++ /home/jnlin/ports/x264/Makefile Sat Apr 28 01:14:23 2007
@@ -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 @@
${WRKSRC}/Makefile \
${WRKSRC}/*/Makefile
+post-build:
+ cd ${WRKSRC}/tools && ${CC} -o avc2avi avc2avi.c
+
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 -ruN --exclude=CVS /usr/ports/multimedia/x264/pkg-plist /home/jnlin/ports/x264/pkg-plist
--- /usr/ports/multimedia/x264/pkg-plist Sun Oct 1 23:40:18 2006
+++ /home/jnlin/ports/x264/pkg-plist Sat Apr 28 01:11:25 2007
@@ -1,4 +1,5 @@
bin/x264
+bin/avc2avi
%%GTK%%bin/x264_gtk_encode
include/x264.h
%%GTK%%include/x264_gtk.h
--- x264-0.0.20070402_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list