Date: Thu, 20 Jun 2013 13:59:24 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321386 - head/science/devisor Message-ID: <201306201359.r5KDxONt038888@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Thu Jun 20 13:59:24 2013 New Revision: 321386 URL: http://svnweb.freebsd.org/changeset/ports/321386 Log: Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS. Modified: head/science/devisor/Makefile Modified: head/science/devisor/Makefile ============================================================================== --- head/science/devisor/Makefile Thu Jun 20 13:52:08 2013 (r321385) +++ head/science/devisor/Makefile Thu Jun 20 13:59:24 2013 (r321386) @@ -22,11 +22,13 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} DATAFILES= data images misc manual CLASSFILES= devisor2 devisorgrid.class -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif PLIST_FILES= bin/devisorgrid +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${PREFIX}/bin/devisorgrid cd ${WRKSRC} \ @@ -35,7 +37,7 @@ do-install: cd ${WRKSRC} \ && ${FIND} ${CLASSFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ && ${FIND} ${CLASSFILES} -name '*.class' -type f -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC}/manual \ && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ && ${FIND} . -type f -name '*.pdf' -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306201359.r5KDxONt038888>