mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Define EXAMPLES option - Define DOCS option
This commit is contained in:
parent
4255c488d3
commit
ccca4389ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346894
@ -16,17 +16,19 @@ NO_BUILD= yes
|
||||
|
||||
XMLDIR= ${PREFIX}/share/xml/docbook/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${XMLDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/jrefentry.dtd ${XMLDIR}
|
||||
${ECHO_CMD} 'PUBLIC "-//Norman Walsh//DTD JRefEntry V1.1//EN" "jrefentry.dtd"' \
|
||||
>${XMLDIR}/catalog
|
||||
PORTDOCS= README.html
|
||||
PORTEXAMPLES= jtest.xml
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/jtest.xml ${EXAMPLESDIR}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
|
||||
OPTIONS_DEFINE= EXAMPLES DOCS
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${XMLDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/jrefentry.dtd ${STAGEDIR}${XMLDIR}
|
||||
${ECHO_CMD} 'PUBLIC "-//Norman Walsh//DTD JRefEntry V1.1//EN" "jrefentry.dtd"' \
|
||||
>${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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user