blob: d12c48053479e1740f309a71ff090096087a7e29 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: kmenc15
# Date created: Wed Dec 15 17:32:21 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kmenc15
PORTVERSION= 0.02
CATEGORIES= multimedia kde
MASTER_SITES= http://dividedsky.net/~ods15/kmenc15/
MAINTAINER= ports@FreeBSD.org
COMMENT= KDE advanced MEncoder frontend, ala, VirtualDub
BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \
sox:${PORTSDIR}/audio/sox \
yuvtoppm:${PORTSDIR}/graphics/netpbm
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_FILES= bin/${PORTNAME}
post-patch:
# FreeBSD uses sed(1) -E -e instead of sed(1) -r
@${REINPLACE_CMD} -E \
-e 's|sed -r|${SED} -E -e|' \
${BUILD_WRKSRC}/${MAKEFILE} \
${WRKSRC}/dialog.cpp
do-configure:
# CXX{,FLAGS} safeness
# PTHREAD_{CFLAGS,LIBS} safeness
@${REINPLACE_CMD} -E \
-e 's|^(CPP[[:space:]]*=).*$$|\1${CXX}|' \
-e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CXXFLAGS} ${PTHREAD_CFLAGS}|' \
-e 's|^(BFLAGS.*)$$|\1 ${PTHREAD_LIBS}|' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
|