aboutsummaryrefslogtreecommitdiff
path: root/multimedia/w_scan
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-06-02 19:37:10 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-06-02 19:37:10 +0000
commitf9c1938da060c21d117041a47315c0448e9ad1a5 (patch)
treed47163dc1cd7f71a33b29913202ba7c607d517c9 /multimedia/w_scan
parent98e078c405c7bf721d1defc27d8d72d2c6e999b9 (diff)
downloadports-f9c1938da060c21d117041a47315c0448e9ad1a5.tar.gz
ports-f9c1938da060c21d117041a47315c0448e9ad1a5.zip
Notes
Diffstat (limited to 'multimedia/w_scan')
-rw-r--r--multimedia/w_scan/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/w_scan/Makefile b/multimedia/w_scan/Makefile
index 9e99ae4991b1..212729bd4b6f 100644
--- a/multimedia/w_scan/Makefile
+++ b/multimedia/w_scan/Makefile
@@ -15,7 +15,8 @@ COMMENT= Perform frequency scans for DVB and ATSC transmissions
BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat
-OPTIONS= LINUX "Install Linux binary too (linux-w_scan)" off
+OPTIONS_DEFINE= LINUX
+LINUX_DESC= "Install Linux binary too (linux-w_scan)"
.include <bsd.port.options.mk>
@@ -31,7 +32,7 @@ MAN1= w_scan.1
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}
-.if defined(WITH_LINUX)
+.if ${PORT_OPTIONS:MLINUX}
USE_LINUX= yes
RUN_DEPENDS+= linux_dvbwrapper-kmod>=1.0:${PORTSDIR}/multimedia/linux_dvbwrapper-kmod
PLIST_FILES+= bin/linux-${PORTNAME}
@@ -42,11 +43,11 @@ post-patch:
${CP} ${WRKSRC}/${PORTNAME} ${WRKSRC}/linux-${PORTNAME}
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
-.if defined(WITH_LINUX)
+.if ${PORT_OPTIONS:MLINUX}
(cd ${WRKSRC} && ${INSTALL_PROGRAM} linux-${PORTNAME} ${PREFIX}/bin)
.endif