svn commit: r321311 - head/biology/xmolwt
Boris Samorodov
bsam at FreeBSD.org
Wed Jun 19 19:07:36 UTC 2013
Author: bsam
Date: Wed Jun 19 19:07:35 2013
New Revision: 321311
URL: http://svnweb.freebsd.org/changeset/ports/321311
Log:
Use optionsNG for DOCS.
Modified:
head/biology/xmolwt/Makefile
Modified: head/biology/xmolwt/Makefile
==============================================================================
--- head/biology/xmolwt/Makefile Wed Jun 19 19:05:47 2013 (r321310)
+++ head/biology/xmolwt/Makefile Wed Jun 19 19:07:35 2013 (r321311)
@@ -10,7 +10,7 @@ MASTER_SITES= http://www.st.hirosaki-u.a
MAINTAINER= ports at 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
More information about the svn-ports-head
mailing list