From 41012809026915e9ce007b074316515fb4b6abd4 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Mon, 3 Mar 2014 13:17:00 +0000 Subject: - Support staging - Define EXAMPLES option - Define DOCS option --- textproc/jrefentry/Makefile | 22 ++++++++++++---------- textproc/jrefentry/pkg-plist | 5 +---- 2 files changed, 13 insertions(+), 14 deletions(-) (limited to 'textproc') diff --git a/textproc/jrefentry/Makefile b/textproc/jrefentry/Makefile index a5bb2a8abe5..f8570d30407 100644 --- a/textproc/jrefentry/Makefile +++ b/textproc/jrefentry/Makefile @@ -16,17 +16,19 @@ NO_BUILD= yes XMLDIR= ${PREFIX}/share/xml/docbook/${PORTNAME} -NO_STAGE= yes +PORTDOCS= README.html +PORTEXAMPLES= jtest.xml + +OPTIONS_DEFINE= EXAMPLES DOCS + do-install: - ${MKDIR} ${XMLDIR} - ${INSTALL_DATA} ${WRKSRC}/jrefentry.dtd ${XMLDIR} + @${MKDIR} ${STAGEDIR}${XMLDIR} + ${INSTALL_DATA} ${WRKSRC}/jrefentry.dtd ${STAGEDIR}${XMLDIR} ${ECHO_CMD} 'PUBLIC "-//Norman Walsh//DTD JRefEntry V1.1//EN" "jrefentry.dtd"' \ - >${XMLDIR}/catalog - -post-install: - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/jtest.xml ${EXAMPLESDIR} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR} + >${STAGEDIR}${XMLDIR}/catalog + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/jtest.xml ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/jrefentry/pkg-plist b/textproc/jrefentry/pkg-plist index bb134fed8fb..24261ec6a32 100644 --- a/textproc/jrefentry/pkg-plist +++ b/textproc/jrefentry/pkg-plist @@ -1,7 +1,4 @@ share/xml/docbook/jrefentry/catalog share/xml/docbook/jrefentry/jrefentry.dtd @dirrm share/xml/docbook/jrefentry -share/examples/jrefentry/jtest.xml -@dirrm share/examples/jrefentry -share/doc/jrefentry/README.html -@dirrm share/doc/jrefentry +@dirrmtry share/xml/docbook -- cgit