summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-03 13:17:00 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-03 13:17:00 +0000
commitccca4389adaf3d1b3b25bf8bed5af23f3218edc5 (patch)
tree94c82d36e4b550a0bb91ae83a3deb18c8381e982 /textproc
parentNet::DNS::Match is a Perl extension for testing domains against another (diff)
- Support staging
- Define EXAMPLES option - Define DOCS option
Notes
Notes: svn path=/head/; revision=346894
Diffstat (limited to 'textproc')
-rw-r--r--textproc/jrefentry/Makefile22
-rw-r--r--textproc/jrefentry/pkg-plist5
2 files changed, 13 insertions, 14 deletions
diff --git a/textproc/jrefentry/Makefile b/textproc/jrefentry/Makefile
index a5bb2a8abe5c..f8570d304070 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 <bsd.port.mk>
diff --git a/textproc/jrefentry/pkg-plist b/textproc/jrefentry/pkg-plist
index bb134fed8fb3..24261ec6a32e 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