aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vcdtools
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-03-02 22:47:19 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-03-02 22:47:19 +0000
commit31c86921f7e36fda1ece420684f28472181f9555 (patch)
tree2fd2ac764efad400ac73affef23b2d46d75ecd8b /multimedia/vcdtools
parentc4802b7cf8fcafe6cedbf2174f2eee32b33a9f6b (diff)
downloadports-31c86921f7e36fda1ece420684f28472181f9555.tar.gz
ports-31c86921f7e36fda1ece420684f28472181f9555.zip
Notes
Diffstat (limited to 'multimedia/vcdtools')
-rw-r--r--multimedia/vcdtools/Makefile9
-rw-r--r--multimedia/vcdtools/files/patch-Makefile17
-rw-r--r--multimedia/vcdtools/pkg-plist3
3 files changed, 23 insertions, 6 deletions
diff --git a/multimedia/vcdtools/Makefile b/multimedia/vcdtools/Makefile
index 42172a7b29e9..d5997b66b3a6 100644
--- a/multimedia/vcdtools/Makefile
+++ b/multimedia/vcdtools/Makefile
@@ -8,6 +8,7 @@
PORTNAME= vcdtools
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.mpegnews.com/files/video/
DISTNAME= ${PORTNAME}_v${PORTVERSION}
@@ -17,8 +18,10 @@ MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-install:
-.for f in mkvcdfs vcdmplex
- @${CP} ${WRKSRC}/$f ${PREFIX}/bin
-.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/mkvcdfs ${WRKSRC}/vcdmplex ${PREFIX}/bin
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/multimedia/vcdtools/files/patch-Makefile b/multimedia/vcdtools/files/patch-Makefile
index 5404234592c2..dc765653f8c0 100644
--- a/multimedia/vcdtools/files/patch-Makefile
+++ b/multimedia/vcdtools/files/patch-Makefile
@@ -1,7 +1,18 @@
---- Makefile.orig Fri Mar 9 01:43:44 2001
-+++ Makefile Fri Mar 9 01:43:47 2001
-@@ -1,4 +1,3 @@
+--- Makefile Fri Mar 24 17:57:31 2000
++++ Makefile Sat Mar 2 17:39:52 2002
+@@ -1,14 +1,10 @@
-CFLAGS = -O2
OBJS = mkvcdfs.o vcdisofs.o edc_ecc.o
+ all: mkvcdfs vcdmplex
+
+ mkvcdfs: $(OBJS)
+- cc -o mkvcdfs $(OBJS)
+-
+-vcdmplex: vcdmplex.c
+- cc -O2 -o vcdmplex vcdmplex.c
++ ${CC} -o mkvcdfs $(OBJS)
+
+ clean:
+ rm -f *.o mkvcdfs vcdmplex
diff --git a/multimedia/vcdtools/pkg-plist b/multimedia/vcdtools/pkg-plist
index 816b115e6c17..429bbd571fd6 100644
--- a/multimedia/vcdtools/pkg-plist
+++ b/multimedia/vcdtools/pkg-plist
@@ -1,2 +1,5 @@
bin/mkvcdfs
bin/vcdmplex
+%%PORTDOCS%%share/doc/vcdtools/README
+%%PORTDOCS%%share/doc/vcdtools/README.html
+%%PORTDOCS%%@dirrm share/doc/vcdtools