svn commit: r426564 - head/textproc/crimson
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Nov 20 09:00:22 UTC 2016
Author: amdmi3
Date: Sun Nov 20 09:00:21 2016
New Revision: 426564
URL: https://svnweb.freebsd.org/changeset/ports/426564
Log:
- Switch to options helpers
Modified:
head/textproc/crimson/Makefile
Modified: head/textproc/crimson/Makefile
==============================================================================
--- head/textproc/crimson/Makefile Sun Nov 20 08:43:17 2016 (r426563)
+++ head/textproc/crimson/Makefile Sun Nov 20 09:00:21 2016 (r426564)
@@ -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>
More information about the svn-ports-all
mailing list