aboutsummaryrefslogtreecommitdiff
path: root/lang/groovy
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 19:37:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 19:37:57 +0000
commit242481663d765115bbed1b98f75cfc963c25882b (patch)
tree0e863bf0019a9552bfcdc1412ee1f003904494ec /lang/groovy
parentba45652f7362f2061a0029e82b7e4492ec08ba74 (diff)
downloadports-242481663d765115bbed1b98f75cfc963c25882b.tar.gz
ports-242481663d765115bbed1b98f75cfc963c25882b.zip
Notes
Diffstat (limited to 'lang/groovy')
-rw-r--r--lang/groovy/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/groovy/Makefile b/lang/groovy/Makefile
index a4d4c14ec7e5..24efe8f47ecf 100644
--- a/lang/groovy/Makefile
+++ b/lang/groovy/Makefile
@@ -28,8 +28,6 @@ OPTIONS_DEFINE= DOCS
DOCS_DISTFILES= apache-groovy-docs-${PORTVERSION}${EXTRACT_SUFX}
-.include <bsd.port.options.mk>
-
PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} %%JAVAJARDIR%%/${PORTNAME}.jar
SUB_FILES= set-groovy_home.sed
@@ -49,13 +47,13 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin/
.endfor
@${ECHO_MSG} " [ DONE ]"
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${ECHO_MSG} -n ">> Staging documentation in ${DOCSDIR}..."
@cd ${WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
-.endif
post-install:
@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \