aboutsummaryrefslogtreecommitdiffstats
path: root/polish/qnapi
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 /polish/qnapi
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 'polish/qnapi')
-rw-r--r--polish/qnapi/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile
index 7701eaa2e942..2c4ef4c5cc2d 100644
--- a/polish/qnapi/Makefile
+++ b/polish/qnapi/Makefile
@@ -29,6 +29,8 @@ MANCOMPRESSED= yes
PORTDOCS= ChangeLog changelog.gz README README.pl LICENSE \
LICENSE.pl COPYRIGHT
+.include <bsd.port.options.mk>
+
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \
doc/qnapi.desktop doc/qnapi-download.desktop
@@ -39,7 +41,7 @@ pre-build:
@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS} ${QMAKE_ARGS}
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}