aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smtube
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-06-08 06:44:21 +0800
committerpawel <pawel@FreeBSD.org>2012-06-08 06:44:21 +0800
commit2a1ebc56ba5020d2bf92961dbe81972f5a54841d (patch)
tree973987c82bdc40f9b4f7cd63831224e568aba682 /multimedia/smtube
parent10b52a170f1d404abc5699061d2a3cf931eeb1e5 (diff)
downloadfreebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.gz
freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.zst
freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.zip
Convert my ports to optionsNG
Diffstat (limited to 'multimedia/smtube')
-rw-r--r--multimedia/smtube/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile
index 9a7e186caa0a..4df737e50007 100644
--- a/multimedia/smtube/Makefile
+++ b/multimedia/smtube/Makefile
@@ -21,6 +21,8 @@ USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build \
corelib gui network xml
INSTALLS_ICONS= yes
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \
-e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \
@@ -28,7 +30,7 @@ post-patch:
-e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \
${WRKSRC}/Makefile
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \
${WRKSRC}/Makefile
PORTDOCS= *