diff options
Diffstat (limited to 'graphics/vcdtools')
-rw-r--r-- | graphics/vcdtools/Makefile | 9 | ||||
-rw-r--r-- | graphics/vcdtools/files/patch-Makefile | 17 | ||||
-rw-r--r-- | graphics/vcdtools/pkg-plist | 3 |
3 files changed, 23 insertions, 6 deletions
diff --git a/graphics/vcdtools/Makefile b/graphics/vcdtools/Makefile index 42172a7..d5997b6 100644 --- a/graphics/vcdtools/Makefile +++ b/graphics/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/graphics/vcdtools/files/patch-Makefile b/graphics/vcdtools/files/patch-Makefile index 5404234..dc76565 100644 --- a/graphics/vcdtools/files/patch-Makefile +++ b/graphics/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/graphics/vcdtools/pkg-plist b/graphics/vcdtools/pkg-plist index 816b115..429bbd5 100644 --- a/graphics/vcdtools/pkg-plist +++ b/graphics/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 |