summaryrefslogtreecommitdiff
path: root/textproc/xhtml/Makefile
blob: 659a6857b00a1b25a87368f72e955ef8d30031ef (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
42
43
# New ports collection makefile for:	XHTML DTD
# Date created:		10 May 2000
# Whom:			kuriyama
#
# $FreeBSD$
#

PORTNAME=	xhtml
PORTVERSION=	1.0.20000126
CATEGORIES=	textproc
#MASTER_SITES=	http://www.w3.org/TR/xhtml1/
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	kuriyama
DISTNAME=	xhtml1-20000126

MAINTAINER=	kuriyama@FreeBSD.org

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

USE_ZIP=	YES
NO_MTREE=	YES
NO_BUILD=	YES
WRKSRC=		${WRKDIR}/xhtml1

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
MKCATALOG=	${PREFIX}/sbin/mkcatalog
PLIST_SUB=	MKCATALOG=${MKCATALOG}

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

do-install:
	@(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})

post-install:
	@${MKCATALOG} -c ${INSTDIR}/catalog -q install dtd/xhtml xhtml.soc

.include <bsd.port.mk>