aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook-tdg/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-04-18 12:24:44 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-04-18 12:24:44 +0000
commitb385229212f58c1b814534c1f4b828ddd24383b0 (patch)
treece2a62bfd17ec1e837da2ea9c00928656b918350 /textproc/docbook-tdg/Makefile
parent8248f53f6bccf613ec217d3fa1bf8f35020da173 (diff)
downloadports-b385229212f58c1b814534c1f4b828ddd24383b0.tar.gz
ports-b385229212f58c1b814534c1f4b828ddd24383b0.zip
Notes
Diffstat (limited to 'textproc/docbook-tdg/Makefile')
-rw-r--r--textproc/docbook-tdg/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/textproc/docbook-tdg/Makefile b/textproc/docbook-tdg/Makefile
index 41256ab23b1f..85840951b900 100644
--- a/textproc/docbook-tdg/Makefile
+++ b/textproc/docbook-tdg/Makefile
@@ -6,31 +6,23 @@
#
PORTNAME= docbook-tdg
-PORTVERSION= 2.0.8
+PORTVERSION= 2.0.11
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/tdg/en/
DISTNAME= tdg-en-html-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= skv@FreeBSD.org
COMMENT= Norman Walsh's book "DocBook: The Definitive Guide"
-USE_REINPLACE= yes
USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/tdg/en
-CPIO= cpio --quiet -pdum -R
-
-post-patch:
- @ ${REINPLACE_CMD} -E -e \
- 's#file:/share/projects/sourceforge/docbook/defguide/(glyphs/100dpi/)#../\1#g' \
- ${WRKSRC}/html/*.html
-# XXX - hack due to REINPLACE_CMD
- @ ${RM} -f ${WRKSRC}/html/*.html.bak
do-install:
- @ ${MKDIR} ${DOCSDIR}
- @ cd ${WRKSRC} && ${FIND} . \
- | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
- @ ${INSTALL_DATA} ${FILESDIR}/index.html ${DOCSDIR}
+.for D in html/figures/callouts html/figures/admon html/figures html
+ ${MKDIR} ${DOCSDIR}/${D}
+ ${INSTALL_DATA} ${WRKSRC}/${D}/*.* ${DOCSDIR}/${D}/
+.endfor
+ ${INSTALL_DATA} ${FILESDIR}/index.html ${DOCSDIR}
.include <bsd.port.mk>