blob: 41256ab23b1f24465eb54adeaf580cf0f0e78401 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: docbook-tdg
# Date created: 24 August 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= docbook-tdg
PORTVERSION= 2.0.8
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/tdg/en/
DISTNAME= tdg-en-html-${PORTVERSION}
MAINTAINER= ports@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}
.include <bsd.port.mk>
|