aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xhtml-11/Makefile
blob: dbda5e70f1bb9e3a2f25d2a76b382927754afaec (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
# New ports collection makefile for:    XHTML 1.1 DTD
# Date created:             18 April 2003
# Whom:                 Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=   xhtml
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   http://www.w3.org/TR/xhtml11/
DISTNAME=   xhtml11
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    W3C's XHTML 1.1 DTD

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

BROKEN=     Checksum mismatch

LATEST_LINK=    xhtml-11
WRKSRC=     ${WRKDIR}/xhtml11-20010531
NO_BUILD=   yes
PLIST_SUB=  XMLCATMGR=${XMLCATMGR} DTDDIR=${DTDDIR} \
        CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}

DTDDIR=     ${PREFIX}/share/xml/${PORTNAME}/${PORTVERSION}
XMLCATMGR=  ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports

do-install:
    ${MKDIR} ${DTDDIR}
    ${INSTALL_DATA} ${WRKSRC}/DTD/* ${DTDDIR}

post-install:
    ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML}  \
        add CATALOG ${DTDDIR}/xhtml11.cat

.include <bsd.port.mk>