blob: d67da193aa6cb542d506276f375a387e73f179de (
plain)
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
|
# New ports collection makefile for: DocBook XML DTD
# Date created: 28 March 1999
# Whom: kuriyama
#
# $FreeBSD$
#
PORTNAME= docbook
PKGNAMESUFFIX= -xml
PORTVERSION= 4.1.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/
DISTNAME= docbkx412
MAINTAINER= kuriyama@FreeBSD.org
RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
USE_ZIP= YES
NO_BUILD= YES
NO_WRKSUBDIR= YES
PLIST_SUB= DTD_VERSION=${PORTVERSION} \
MKCATALOG=${MKCATALOG} CATALOG=${CATALOG}
DOCBOOKDIR= ${PREFIX}/share/xml/${PORTNAME}/${PORTVERSION}
MKCATALOG= ${LOCALBASE}/sbin/mkcatalog
CATALOG= ${PREFIX}/share/xml/catalog
pre-install:
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
do-install:
for file in `unzip -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCBOOKDIR}/$$file; \
done
post-install:
${MKCATALOG} -q -c ${CATALOG} install docbook/${PORTVERSION} docbook.cat
.include <bsd.port.mk>
|