diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-07-12 22:48:27 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-07-12 22:48:27 +0000 |
commit | 934890ac2e6980b0bc56b28faca1962fdd39360b (patch) | |
tree | 95bb8b6618335eed08a1184b15dfe827e1085c25 /textproc/dtd2relax | |
parent | - Update to 0.7.1 (diff) |
. Respect NOPORTDOCS.
. Use PORTDOCS to simplify the packing list.
. Use %%JAVAJARDIR%% in the packing list now that bsd.java.mk sets it.
Diffstat (limited to 'textproc/dtd2relax')
-rw-r--r-- | textproc/dtd2relax/Makefile | 5 | ||||
-rw-r--r-- | textproc/dtd2relax/pkg-plist | 18 |
2 files changed, 11 insertions, 12 deletions
diff --git a/textproc/dtd2relax/Makefile b/textproc/dtd2relax/Makefile index 7db6a389880e..66e5ef1ea4f3 100644 --- a/textproc/dtd2relax/Makefile +++ b/textproc/dtd2relax/Makefile @@ -23,14 +23,19 @@ NO_BUILD= yes NO_BUILD_DEPENDS_JAVA= yes JARFILE= ${DISTNAME}-bin-XML4J.jar +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif do-install: ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${JAVAJARDIR}/${PORTNAME}.jar +.if !defined(NOPORTDOCS) post-install: ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} +.endif .include <bsd.port.mk> diff --git a/textproc/dtd2relax/pkg-plist b/textproc/dtd2relax/pkg-plist index 73ca85ae6d5a..04e9097b1cc2 100644 --- a/textproc/dtd2relax/pkg-plist +++ b/textproc/dtd2relax/pkg-plist @@ -1,12 +1,6 @@ -share/java/classes/dtd2relax.jar -%%EXAMPLESDIR%%/test01-utf8.rlx -%%EXAMPLESDIR%%/test01.dtd -%%EXAMPLESDIR%%/xmlspec-19990205-utf8.rlx -%%EXAMPLESDIR%%/xmlspec-19990205.dtd -@dirrm %%EXAMPLESDIR%% -%%DOCSDIR%%/DTD2RELAX-j.html -%%DOCSDIR%%/DTD2RELAX.html -%%DOCSDIR%%/DTDtoRELAXConverterGUI.gif -%%DOCSDIR%%/test01.dtd -%%DOCSDIR%%/test01.rlx -@dirrm %%DOCSDIR%% +%%JAVAJARDIR%%/dtd2relax.jar +%%PORTDOCS%%%%EXAMPLESDIR%%/test01-utf8.rlx +%%PORTDOCS%%%%EXAMPLESDIR%%/test01.dtd +%%PORTDOCS%%%%EXAMPLESDIR%%/xmlspec-19990205-utf8.rlx +%%PORTDOCS%%%%EXAMPLESDIR%%/xmlspec-19990205.dtd +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |