aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iso8879/Makefile
blob: 102314d5dfa71382be6f39aa34ac48410c26c380 (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
# Created by: jfieber
# $FreeBSD$

PORTNAME=   iso8879
PORTVERSION=    1986
PORTREVISION=   3
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kuriyama
DISTNAME=   isoENTS

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Character entity sets from ISO 8879:1986 (SGML)

RUN_DEPENDS=    ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes
PLIST_SUB=  DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR}
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}

INSTDIR=    ${PREFIX}/share/sgml/iso8879
XMLCATMGR=  ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports

NO_STAGE=   yes
do-install:
    @${MKDIR} ${INSTDIR}
    @${INSTALL_DATA} ${WRKSRC}/ISO* ${INSTDIR}
    @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog

post-install:
    @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog

.include <bsd.port.mk>