summaryrefslogtreecommitdiff
path: root/multimedia/tosvcd/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-25 08:12:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-25 08:12:42 +0000
commit3a0cd27f78beadddff62fd14c4273d202fe932fe (patch)
treecf50a6b82f22b66102c0797cbc13a1eebd844d2f /multimedia/tosvcd/Makefile
parentAdded two missing files to pkg-plist (diff)
add tosvcd 0.7
SVCD transcoder
Notes
Notes: svn path=/head/; revision=68783
Diffstat (limited to 'multimedia/tosvcd/Makefile')
-rw-r--r--multimedia/tosvcd/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/tosvcd/Makefile b/multimedia/tosvcd/Makefile
new file mode 100644
index 000000000000..61279544b655
--- /dev/null
+++ b/multimedia/tosvcd/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: tosvcd
+# Date created: Oct 25, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= tosvcd
+PORTVERSION= 0.7
+CATEGORIES= graphics
+MASTER_SITES= http://muse.seh.de/tosvcd/
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPNDS= mpeg2enc:${PORTSDIR}/graphics/mjpegtools \
+ vcdimager:${PORTSDIR}/graphics/vcdimager
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+MAKEFILE= makefile
+USE_GMAKE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|^CFLAGS =|CFLAGS+=|" \
+ -e "s|^CFLAGS +=|#CFLAGS +=|g" \
+ -e "s|-lpthread|${PTHREAD_LIBS}|g" \
+ ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|" ${WRKSRC}/decode.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tosvcd ${PREFIX}/bin
+
+.include <bsd.port.mk>