blob: 78a35b3740fff5416e8082ca7b4a82d1ad8a96cb (
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
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: "Simplified" DocBook XML DTD
# Date created: 25 December 2000
# Whom: KIRIYAMA Kazuhiko <kiri@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sdocbook-xml
PORTVERSION= 4.1.2.5
CATEGORIES= textproc
MASTER_SITES= http://www.oasis-open.org/docbook/xml/simple/4.1.2.5/
DISTNAME= simple${PORTVERSION:S/.//g}
MAINTAINER= des@FreeBSD.org
RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
USE_ZIP= yes
NO_BUILD= yes
PLIST_SUB= MKCATALOG=${MKCATALOG} CATALOG=${CATALOG}
SDOCBOOKDIR= ${PREFIX}/share/xml/sdocbook
MKCATALOG= ${LOCALBASE}/sbin/mkcatalog
CATALOG= ${PREFIX}/share/xml/catalog
FILES= sdbcent.mod sdbhier.mod sdbpool.mod sdocbook-custom.dtd \
sdocbook.css sdocbook.dtd sdocbookref-custom.dtd \
sdocbookref.dtd sinclist.mod
do-extract:
${MKDIR} ${WRKDIR}; \
(cd ${WRKDIR} && unzip -oq ${DISTDIR}/${DISTFILES})
do-install:
${MKDIR} ${SDOCBOOKDIR}
.for i in ${FILES}
$(INSTALL_DATA) $(WRKDIR)/${i} $(SDOCBOOKDIR)
.endfor
${INSTALL_DATA} ${FILESDIR}/catalog ${SDOCBOOKDIR}
post-install:
${MKCATALOG} -q -c ${CATALOG} install sdocbook catalog
.include <bsd.port.mk>
|