blob: 61279544b655e2dcbdbebddca925b6eba0823feb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>
|