aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlcharent/Makefile
blob: f85f949874038e1702cc6d1a14f2683f3d03aac0 (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
# New ports collection makefile for:   xmlcharent
# Date created:                31 January 2002
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=   xmlcharent
PORTVERSION=    0.2
CATEGORIES= textproc
MASTER_SITES=   http://www.oasis-open.org/docbook/${PORTNAME}/${PORTVERSION}/

MAINTAINER= fuyuki@mj.0038.net

RUN_DEPENDS=    ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog

USE_ZIP=    yes
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

XMLDIR=     ${PREFIX}/share/xml/${PORTNAME}

MKCATALOG=  ${LOCALBASE}/sbin/mkcatalog
PLIST_SUB=  MKCATALOG=${MKCATALOG}

do-install:
    ${MKDIR} ${XMLDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.ent ${FILESDIR}/catalog ${XMLDIR}

post-install:
    ${MKCATALOG} -c ${PREFIX}/share/xml/catalog -q install xmlcharent
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}

.include <bsd.port.mk>