aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-03 09:46:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-03 09:46:54 +0000
commit85390335097cedec3c2b0ab15b368d44d926408f (patch)
treed805c1be86356062988ae9f4afc01f99f25ec1db
parent1f51f6c4bbbda9102929bab3be7e883b0dca649f (diff)
downloadports-85390335097cedec3c2b0ab15b368d44d926408f.tar.gz
ports-85390335097cedec3c2b0ab15b368d44d926408f.zip
Notes
-rw-r--r--textproc/docbook-xsl/Makefile42
1 files changed, 17 insertions, 25 deletions
diff --git a/textproc/docbook-xsl/Makefile b/textproc/docbook-xsl/Makefile
index bab6c8f03b4a..c86bf99c6b2f 100644
--- a/textproc/docbook-xsl/Makefile
+++ b/textproc/docbook-xsl/Makefile
@@ -51,15 +51,7 @@ TOOLS_DESC= Tools
WEBSITE_DESC= Website modules
XHTML11_DESC= XHTML 1.1 modules
-DXVERSIONS= 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 \
- 1.48 1.49 1.50.0 1.51.0 1.51.1 1.52.0 1.52.1 1.52.2 1.53.0 \
- 1.54.0 1.54.1 1.55.0 1.56.0 1.56.1 1.57.0 1.58.0 1.58.1 \
- 1.59.0 1.59.1 1.59.2 1.60.0 1.60.1 1.61.0 1.61.1 1.61.2 \
- 1.61.3 1.62.0 1.62.1 1.62.2 1.62.3 1.62.4 1.63.0 1.64.0 \
- 1.64.1 1.65.0 1.65.1 1.66.0 1.66.1 1.67.0 1.67.2 1.68.0 \
- 1.68.1 1.69.0 1.69.1 1.70.0 1.70.1 1.71.0 1.71.1 current
-
-DOCS_DISTFILES= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX}:doc
+DOCS_DISTFILES= ${PORTNAME}-doc-${PORTVERSION}${EXTRACT_SUFX}:doc
ECLIPSE_VARS= MODULES+=eclipse
EPUB_VARS= MODULES+=epub
@@ -85,24 +77,24 @@ post-extract:
do-install:
.for m in ${MODULES}
- ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}
- dirs=$$(${FIND} ${WRKSRC}/${m} -type d | ${SED} 's|^${WRKSRC}/${m}||g'); \
- for d in $${dirs}; do \
- files=$$(${FIND} ${WRKSRC}/${m}/$${d} -type f); \
- ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}/$${d}; \
- for i in $${files}; do \
- ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}/$${d}; \
- done; \
- done; \
- files=$$(${FIND} ${WRKSRC}/${m} -type f -depth 1); \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}
+ dirs=$$(${FIND} ${WRKSRC}/${m} -type d | ${SED} 's|^${WRKSRC}/${m}||g'); \
+ for d in $${dirs}; do \
+ files=$$(${FIND} ${WRKSRC}/${m}/$${d} -type f); \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}/$${d}; \
for i in $${files}; do \
- ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}; \
- done
+ ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}/$${d}; \
+ done; \
+ done; \
+ files=$$(${FIND} ${WRKSRC}/${m} -type f -depth 1); \
+ for i in $${files}; do \
+ ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/${m}; \
+ done
.endfor
- files=$$(${FIND} ${WRKSRC} -type f -depth 1); \
- for i in $${files}; do \
- ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}; \
- done
+ files=$$(${FIND} ${WRKSRC} -type f -depth 1); \
+ for i in $${files}; do \
+ ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}; \
+ done
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}