aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:26:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:26:14 +0800
commitfea9d1549c6cd7bd647cc41105acd78648f9c431 (patch)
tree6b4799b0cf7b3d20af9184999a4aa0c2ebcba9ce /french
parent977e999c0b032333c38a39ae48369ce254ba2b8f (diff)
downloadfreebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.gz
freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.tar.zst
freebsd-ports-gnome-fea9d1549c6cd7bd647cc41105acd78648f9c431.zip
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'french')
-rw-r--r--french/tvdownloader/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/french/tvdownloader/Makefile b/french/tvdownloader/Makefile
index de1d023fbcf5..1a15d89b4f31 100644
--- a/french/tvdownloader/Makefile
+++ b/french/tvdownloader/Makefile
@@ -21,11 +21,10 @@ RUN_DEPENDS= msdl:${PORTSDIR}/multimedia/msdl \
USES= python shebangfix
SHEBANG_FILES= doc/installdox
ALL_TARGET= build
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
pre-configure:
${REINPLACE_CMD} -e 's|@python|${PYTHON_CMD}|' \
${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
@@ -33,10 +32,11 @@ pre-configure:
${WRKSRC}/tvdownloader.sh
${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${WRKSRC}/tvdownload.desktop
-.if empty(PORT_OPTIONS:MDOCS)
- ${REINPLACE_CMD} -e 's|%%DOC%%|#|' ${WRKSRC}/Makefile
-.else
+
+pre-configure-DOCS-on:
${REINPLACE_CMD} -e 's|%%DOC%%||' ${WRKSRC}/Makefile
-.endif
+
+pre-configure-DOCS-off:
+ ${REINPLACE_CMD} -e 's|%%DOC%%|#|' ${WRKSRC}/Makefile
.include <bsd.port.mk>