Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 07:09:27 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4bd8bfb89785 - main - textproc/xhtml-modularization: Cosmetic change
Message-ID:  <202104180709.13I79RSA094851@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4bd8bfb89785efb5436fae6fe7078674f1ae074a

commit 4bd8bfb89785efb5436fae6fe7078674f1ae074a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-04-18 04:58:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180709.13I79RSA094851>