aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pencil
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2012-06-15 17:55:17 +0800
committermartymac <martymac@FreeBSD.org>2012-06-15 17:55:17 +0800
commitcb9693ae6299753b3c7ada8d546db29d1d5ea472 (patch)
tree3bf7f7f1e58c70fc87188e4544bc1778ca2bc52f /graphics/pencil
parent4a3ab1a91e3842063e12e223da4b24223c16e71d (diff)
downloadfreebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.gz
freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.zst
freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.zip
Switch to OptionsNg
Diffstat (limited to 'graphics/pencil')
-rw-r--r--graphics/pencil/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile
index 6cb510bc7c12..19ffe9d0e4bb 100644
--- a/graphics/pencil/Makefile
+++ b/graphics/pencil/Makefile
@@ -38,6 +38,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
PLIST_FILES= bin/pencil
PORTDOCS= README TODO
+.include <bsd.port.options.mk>
+
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} \
@@ -51,7 +53,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}