aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 16:57:01 +0800
committerleeym <leeym@FreeBSD.org>2004-02-08 16:57:01 +0800
commit2ff667ae815b9c0cd6c6c7f155b460e3e6d4d432 (patch)
treeb4a14a6327a907fbcf58be81a9146572033caee3 /multimedia
parent6216505171831c04b7cd5ea55d922dd02df1a8a5 (diff)
downloadfreebsd-ports-gnome-2ff667ae815b9c0cd6c6c7f155b460e3e6d4d432.tar.gz
freebsd-ports-gnome-2ff667ae815b9c0cd6c6c7f155b460e3e6d4d432.tar.zst
freebsd-ports-gnome-2ff667ae815b9c0cd6c6c7f155b460e3e6d4d432.zip
add USE_GCC=2.95 and unbreak this port.
replace pkg-plist with PORTDOCS and PLIST_FILES.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpegedit/Makefile14
-rw-r--r--multimedia/mpegedit/pkg-plist4
2 files changed, 5 insertions, 13 deletions
diff --git a/multimedia/mpegedit/Makefile b/multimedia/mpegedit/Makefile
index 011b95d592a8..b61f4f2c6638 100644
--- a/multimedia/mpegedit/Makefile
+++ b/multimedia/mpegedit/Makefile
@@ -17,12 +17,9 @@ COMMENT= A program to edit encoded mpeg streams
LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_X_PREFIX= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
+USE_GCC= 2.95
+PORTDOCS= README manual.ps
+PLIST_FILES= bin/mpeg_edit
post-extract:
@${FIND} ${WRKSRC} -name '.depend' | ${XARGS} ${RM} -f
@@ -31,8 +28,7 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mpeg_edit ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/manual.ps ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/mpegedit/pkg-plist b/multimedia/mpegedit/pkg-plist
deleted file mode 100644
index 19f822c08176..000000000000
--- a/multimedia/mpegedit/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/mpeg_edit
-%%PORTDOCS%%share/doc/mpegedit/README
-%%PORTDOCS%%share/doc/mpegedit/manual.ps
-%%PORTDOCS%%@dirrm share/doc/mpegedit