diff options
Diffstat (limited to 'textproc/dtd2relax')
-rw-r--r-- | textproc/dtd2relax/Makefile | 21 | ||||
-rw-r--r-- | textproc/dtd2relax/pkg-plist | 6 |
2 files changed, 9 insertions, 18 deletions
diff --git a/textproc/dtd2relax/Makefile b/textproc/dtd2relax/Makefile index e3af48929dfd..94e7a2f6e6d6 100644 --- a/textproc/dtd2relax/Makefile +++ b/textproc/dtd2relax/Makefile @@ -17,21 +17,18 @@ USE_ZIP= yes USE_JAVA= yes NO_BUILD= yes +OPTIONS_DEFINE= DOCS EXAMPLES + JARFILE= ${DISTNAME}-bin-XML4J.jar -.if !defined(NOPORTDOCS) +PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar PORTDOCS= * -.endif +PORTEXAMPLES= * -NO_STAGE= yes 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 + ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/textproc/dtd2relax/pkg-plist b/textproc/dtd2relax/pkg-plist deleted file mode 100644 index 04e9097b1cc2..000000000000 --- a/textproc/dtd2relax/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -%%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%% |