aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-20 17:00:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-20 17:00:21 +0800
commitd60178ec42d4c2b024d52c9c0135ee36423cce61 (patch)
treea00a91d082944d57350d285378835b8e04ce54d7 /textproc
parent7297f3ff4e15eb9d6f2117554665e5008ca0a7f3 (diff)
downloadfreebsd-ports-gnome-d60178ec42d4c2b024d52c9c0135ee36423cce61.tar.gz
freebsd-ports-gnome-d60178ec42d4c2b024d52c9c0135ee36423cce61.tar.zst
freebsd-ports-gnome-d60178ec42d4c2b024d52c9c0135ee36423cce61.zip
- Switch to options helpers
Diffstat (limited to 'textproc')
-rw-r--r--textproc/crimson/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/textproc/crimson/Makefile b/textproc/crimson/Makefile
index e59a38ed797d..e1004cae88e9 100644
--- a/textproc/crimson/Makefile
+++ b/textproc/crimson/Makefile
@@ -19,19 +19,24 @@ JAVAVM?= ${LOCALBASE}/bin/javavm
NO_BUILD= yes
NO_ARCH= yes
-OPTIONS_DEFINE= DOCS EXAMPLES
-
SUB_FILES= pkg-message
PLIST_FILES= share/java/classes/crimson.jar
PORTDOCS= *
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/java/classes
${INSTALL_DATA} ${INSTALL_WRKSRC}/crimson.jar ${STAGEDIR}${PREFIX}/share/java/classes
- @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} README.html ChangeLog ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} examples ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>