summaryrefslogtreecommitdiff
path: root/textproc/xhtml/Makefile
blob: a5d0b8e06eb6987a66af70d647d1989f6d86c6eb (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
PORTNAME=	xhtml
PORTVERSION=	1.0.20020801
PORTREVISION=	5
CATEGORIES=	textproc
#MASTER_SITES=	http://www.w3.org/TR/xhtml1/
MASTER_SITES=	LOCAL/kuriyama
DISTNAME=	xhtml1-20020801

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

RUN_DEPENDS=	xmlcatmgr:textproc/xmlcatmgr

USES=		zip
NO_MTREE=	yes
NO_ARCH=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/xhtml1-20020801
SUB_FILES=	catalog.xml
SUB_LIST+=	DTDDIR="${DTDDIR}"

INSTDIR=	${PREFIX}/share/xml
DTDDIR=		${INSTDIR}/dtd/xhtml
DTDFILES=	xhtml-lat1.ent xhtml-special.ent xhtml-symbol.ent \
		xhtml.soc xhtml1-frameset.dtd xhtml1-strict.dtd \
		xhtml1-transitional.dtd xhtml1.dcl ${WRKDIR}/catalog.xml

pre-su-install:
	@[ -d ${STAGEDIR}${DTDDIR}	 ] || ${MKDIR} ${STAGEDIR}${DTDDIR}

do-install:
	@(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${STAGEDIR}${DTDDIR})
	${SED} -e 's|SGMLDECL.*||' ${WRKSRC}/DTD/xhtml.soc > ${STAGEDIR}${DTDDIR}/xhtml-dcl.soc

.include <bsd.port.mk>