1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Add NO_ARCH

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-02-17 19:12:11 +00:00
parent 428a25580d
commit c243b793e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409063

View File

@ -16,18 +16,23 @@ COMMENT= DTD to RELAX converter for Java
USES= zip
USE_JAVA= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS EXAMPLES
NO_ARCH= yes
JARFILE= ${DISTNAME}-bin-XML4J.jar
PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}