git: 4bd8bfb89785 - main - textproc/xhtml-modularization: Cosmetic change
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 18 07:09:28 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4bd8bfb89785efb5436fae6fe7078674f1ae074a
commit 4bd8bfb89785efb5436fae6fe7078674f1ae074a
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 04:58:26 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-18 05:42:13 +0000
textproc/xhtml-modularization: Cosmetic change
---
textproc/xhtml-modularization/Makefile | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/textproc/xhtml-modularization/Makefile b/textproc/xhtml-modularization/Makefile
index df774b39c410..d058f86008cd 100644
--- a/textproc/xhtml-modularization/Makefile
+++ b/textproc/xhtml-modularization/Makefile
@@ -14,26 +14,25 @@ RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr
USES= tar:tgz
-RECDATE= 20010410
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-SUB_FILES= catalog.xml
NO_ARCH= yes
NO_BUILD= yes
NO_MTREE= yes
+
+SUB_FILES= catalog.xml
WRKSRC= ${WRKDIR}/${PORTNAME}-${RECDATE}
-dir_DTD= share/xml/dtd/xhtml-modularization
+RECDATE= 20010410
+
+OPTIONS_DEFINE= DOCS EXAMPLES
.include "${.CURDIR}/contents.inc"
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${dir_DTD}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization
.for f in ${contents_DTD}
- ${INSTALL_DATA} ${WRKSRC}/DTD/${f} ${STAGEDIR}${PREFIX}/${dir_DTD}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/DTD/${f} ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization/${f}
.endfor
- ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${STAGEDIR}${PREFIX}/${dir_DTD}/catalog.xml
+ ${INSTALL_DATA} ${WRKDIR}/catalog.xml ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization/catalog.xml
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/images
@@ -44,13 +43,11 @@ post-install-DOCS-on:
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${contents_EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/DTD/examples/${f} \
- ${STAGEDIR}${EXAMPLESDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/DTD/examples/${f} ${STAGEDIR}${EXAMPLESDIR}/${f}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/templates
.for f in ${contents_TEMPLATES}
- ${INSTALL_DATA} ${WRKSRC}/DTD/templates/${f} \
- ${STAGEDIR}${EXAMPLESDIR}/templates/${f}
+ ${INSTALL_DATA} ${WRKSRC}/DTD/templates/${f} ${STAGEDIR}${EXAMPLESDIR}/templates/${f}
.endfor
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list