aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docbook-sk/Makefile
blob: 1231be9b7f64c5dae4c4bf4ca14549d68a8a79b8 (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
# New ports collection makefile for:    DocBook XML DTD
# Date created:     28 March 1999
# Whom:         kuriyama
#
# $FreeBSD$
#

PORTNAME=   docbook-xml
PORTVERSION=    3.1.7
CATEGORIES= textproc
MASTER_SITES=   http://nwalsh.com/docbook/xml/3.1.7/
DISTNAME=   db3x317

MAINTAINER= kuriyama@FreeBSD.org

USE_ZIP=    YES
NO_MTREE=   yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}

INSTDIR=    ${PREFIX}/share/xml
DTDDIR=     ${INSTDIR}/dtd/docbook
ENTDIR=     ${INSTDIR}/entity
MISCDIR=    ${INSTDIR}/misc/docbook
DTDFILES=   calstblx.dtd dbcentx.mod dbgenent.ent dbhierx.mod \
        dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd
MISCFILES=  COPYRIGHT ChangeLog README VERSION test.xml

pre-install:
    @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
    @[ -d ${DTDDIR}  ] || ${MKDIR} ${DTDDIR}
    @[ -d ${ENTDIR}  ] || ${MKDIR} ${ENTDIR}
    @[ -d ${MISCDIR} ] || ${MKDIR} ${MISCDIR}

do-install:
    @(cd ${WRKSRC};     ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
    @(cd ${WRKSRC}/ent; ${INSTALL_DATA} *.ent ${ENTDIR})
    @(cd ${WRKSRC};     ${INSTALL_DATA} ${MISCFILES} ${MISCDIR})

.include <bsd.port.mk>