aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvbcut
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2013-07-10 11:42:20 +0000
committerStefan Eßer <se@FreeBSD.org>2013-07-10 11:42:20 +0000
commitd3fba6c3643185e8abf9a8895b01354c74a3068f (patch)
tree839520b9c2a428dbcf266b06efac0fad920fe30f /multimedia/dvbcut
parent9f4bfc4080f6e2573d7e25d1a669d4e8d347d6fa (diff)
downloadports-d3fba6c3643185e8abf9a8895b01354c74a3068f.tar.gz
ports-d3fba6c3643185e8abf9a8895b01354c74a3068f.zip
Notes
Diffstat (limited to 'multimedia/dvbcut')
-rw-r--r--multimedia/dvbcut/Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index 72856fc43138..3a7c9a1521df 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -24,46 +24,22 @@ LIB_DEPENDS= a52:${PORTSDIR}/audio/liba52 \
RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS_DEFINE= QT4
-OPTIONS_DEFAULT=QT4
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT4}
-WITH_QT_VER= 4
-.else
-PKGNAMESUFFIX= -qt3
-WITH_QT_VER= 3
-.endif
-
-.if ${WITH_QT_VER} == 3
-BUILD_DEPENDS+= moc:${PORTSDIR}/x11-toolkits/qt33
-LIB_DEPENDS+= qt-mt.3:${PORTSDIR}/x11-toolkits/qt33
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-ffmpeg=${LOCALBASE}
-MAKEFILE= makefile
-QTCPPFLAGS+= ${PTHREAD_CFLAGS}
-QTCFGLIBS+= ${PTHREAD_LIBS}
-.else
+USE_GCC= any
USES= cmake
USE_QT4= gui qt3support xml moc_build qmake_build rcc_build uic_build
CXXFLAGS+= -I${PREFIX}/include \
-I${PREFIX}/include/libavcodec \
-I${PREFIX}/include/libavformat \
-I${PREFIX}/include/libswscale
-.endif
MAN1= dvbcut.1
PLIST_FILES= bin/dvbcut
-.if ${WITH_QT_VER} == 4
#post-extract:
# ${RM} ${WRKSRC}/src/mplayererrorbase.h
pre-patch:
cd ${WRKSRC} && ${BZCAT} ${FILESDIR}/use-qt4.diff.bz2 | ${PATCH} -p2
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dvbcut ${PREFIX}/bin