diff options
author | nox <nox@FreeBSD.org> | 2012-06-03 19:33:30 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2012-06-03 19:33:30 +0800 |
commit | 032cd4c9e7aa4610d4e484fb2782637d318c1c95 (patch) | |
tree | a27f8438426ee03a01243e61a66daf22e30d4200 /multimedia | |
parent | dfeaf4307b12ba9035971b4d7955daeb919a7de1 (diff) | |
download | freebsd-ports-graphics-032cd4c9e7aa4610d4e484fb2782637d318c1c95.tar.gz freebsd-ports-graphics-032cd4c9e7aa4610d4e484fb2782637d318c1c95.tar.zst freebsd-ports-graphics-032cd4c9e7aa4610d4e484fb2782637d318c1c95.zip |
- Convert this to OPTIONng too.
- Pet portlint.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vdr/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/multimedia/vdr/Makefile b/multimedia/vdr/Makefile index 1ea526305a9..9e652a1b426 100644 --- a/multimedia/vdr/Makefile +++ b/multimedia/vdr/Makefile @@ -15,14 +15,16 @@ MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - development version BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig -OPTIONS= IPTVPATCH "Stops EIT scans on IPTV channels" On \ - TTXPATCH "Support patches for teletext subtitle plugin" On \ - DVBPATCH "DVB audio patch for some countries" Off \ - STB0899_SIGNAL "STB0899 signal strength patch" Off +OPTIONS_DEFINE= IPTVPATCH TTXPATCH DVBPATCH STB0899_SIGNAL +IPTVPATCH_DESC= Stops EIT scans on IPTV channels +TTXPATCH_DESC= Support patches for teletext subtitle plugin +DVBPATCH_DESC= DVB audio patch for some countries +STB0899_SIGNAL_DESC= STB0899 signal strength patch +OPTIONS_DEFAULT= IPTVPATCH TTXPATCH DIST_SUBDIR= vdr USE_BZIP2= yes @@ -62,20 +64,20 @@ PLIST_SUB+= VDR_GROUP=${VDR_GROUP} .include <bsd.port.options.mk> EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch -.if defined(WITH_IPTVPATCH) +.if ${PORT_OPTIONS:MIPTVPATCH} EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_eitscan.patch .endif -.if defined(WITH_DVBPATCH) +.if ${PORT_OPTIONS:MDVBPATCH} EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.27-pat.diff .endif -.if defined(WITH_TTXPATCH) +.if ${PORT_OPTIONS:MTTXPATCH} PLIST_SUB+= TTXPATCH="" .else PLIST_SUB+= TTXPATCH="@comment " .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " @@ -89,11 +91,11 @@ post-patch: ${WRKSRC}/PLUGINS/src/*/Makefile @[ ! -f ${WRKSRC}/s2apiwrapper.c ] || \ ${REINPLACE_CMD} 's/__u32/uint32_t/' ${WRKSRC}/s2apiwrapper.c -.if defined(WITH_TTXPATCH) +.if ${PORT_OPTIONS:MTTXPATCH} @${PATCH} -d ${WRKSRC} --quiet -p1 <${FILESDIR}/vdr-1.7.21-ttxtsubs.patch-1 @${PATCH} -d ${WRKSRC} --quiet -p1 <${FILESDIR}/vdr-1.7.21-ttxtsubs.patch-2 .endif -.if defined(WITH_STB0899_SIGNAL) +.if ${PORT_OPTIONS:MSTB0899_SIGNAL} # This fixes signal strength display for e.g. pctv452e-based tuners. # (like TT S2-36?0.) @${PATCH} -d ${WRKSRC} --quiet -p1 <${FILESDIR}/stb0899-signalstrength.patch @@ -105,7 +107,7 @@ post-patch: @${RM} -r ${WRKSRC}/PLUGINS/src/dvbhddevice post-install: -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} locale ${PREFIX}/share/) .endif ${MKDIR} ${CONFDIR}/plugins @@ -121,7 +123,7 @@ post-install: fi; \ done ${INSTALL_SCRIPT} ${WRKDIR}/vdr-waitdvb ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) .endif |