aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-20 03:07:35 +0800
committerbsam <bsam@FreeBSD.org>2013-06-20 03:07:35 +0800
commit898508be910d85affe47f4789f676ddd6421283b (patch)
tree6332f4aedac6da026eb2dd85598e170832cfe112
parent8434053ba22bafdf837442b5b9be6d3ad3659873 (diff)
downloadfreebsd-ports-gnome-898508be910d85affe47f4789f676ddd6421283b.tar.gz
freebsd-ports-gnome-898508be910d85affe47f4789f676ddd6421283b.tar.zst
freebsd-ports-gnome-898508be910d85affe47f4789f676ddd6421283b.zip
Use optionsNG for DOCS.
-rw-r--r--biology/xmolwt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/xmolwt/Makefile b/biology/xmolwt/Makefile
index e8368fee3f1d..ce91f6387924 100644
--- a/biology/xmolwt/Makefile
+++ b/biology/xmolwt/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/
MAINTAINER= ports@FreeBSD.org
COMMENT= Calculate atom weight and percent of each element for a given formula
-OPTIONS_DEFINE= GTK2
+OPTIONS_DEFINE= DOCS GTK2
USE_GMAKE= yes
MAKEFILE= Makefile.gtk
@@ -40,7 +40,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin
${LN} -sf gmolwt ${PREFIX}/bin/molwt
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/xmolwt
${INSTALL_DATA} ${WRKSRC}/Howtouse.* ${PREFIX}/share/doc/xmolwt
${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/xmolwt