aboutsummaryrefslogtreecommitdiff
path: root/www/grails
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
commita36cc6f76069b486e45004dd475af0181e2d50a3 (patch)
tree980687f44e6ea0b8061f73b70997b5ed094b78d7 /www/grails
parentf093667af6bed85e379cf39682c94edcbfba0c61 (diff)
downloadports-a36cc6f76069b486e45004dd475af0181e2d50a3.tar.gz
ports-a36cc6f76069b486e45004dd475af0181e2d50a3.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360680
Diffstat (limited to 'www/grails')
-rw-r--r--www/grails/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/grails/Makefile b/www/grails/Makefile
index 41ea3a8e54e5..bdcb5cabd978 100644
--- a/www/grails/Makefile
+++ b/www/grails/Makefile
@@ -21,9 +21,9 @@ DATAFILES= LICENSE README build.gradle build.properties gradle.properties \
gradlew conf dist gradle lib media plugins scripts src
SCRIPTFILES= grails grails-debug startGrails
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= api guide index.html css img ref
-.endif
PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} \
${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,}
PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}/bin
@@ -44,13 +44,11 @@ do-install:
@${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC}/doc \
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
-.endif
post-install:
@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \