2000-05-10 15:24:51 +02:00
|
|
|
# New ports collection makefile for: XHTML DTD
|
|
|
|
# Date created: 10 May 2000
|
|
|
|
# Whom: kuriyama
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xhtml
|
2003-06-27 09:15:59 +02:00
|
|
|
PORTVERSION= 1.0.20020801
|
2003-10-15 15:51:57 +02:00
|
|
|
PORTREVISION= 4
|
2000-05-10 15:24:51 +02:00
|
|
|
CATEGORIES= textproc
|
2002-08-10 06:35:26 +02:00
|
|
|
#MASTER_SITES= http://www.w3.org/TR/xhtml1/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= kuriyama
|
2003-06-27 09:15:59 +02:00
|
|
|
DISTNAME= xhtml1-20020801
|
2000-05-10 15:24:51 +02:00
|
|
|
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
2003-02-22 08:48:51 +01:00
|
|
|
COMMENT= W3C's XHTML DTD
|
2000-05-10 15:24:51 +02:00
|
|
|
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
2001-12-31 17:10:42 +01:00
|
|
|
|
2000-05-10 15:24:51 +02:00
|
|
|
USE_ZIP= YES
|
|
|
|
NO_MTREE= YES
|
|
|
|
NO_BUILD= YES
|
2003-06-27 09:15:59 +02:00
|
|
|
WRKSRC= ${WRKDIR}/xhtml1-20020801
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
PLIST_SUB= XMLCATMGR=${XMLCATMGR}
|
|
|
|
PLIST_SUB+= DTDDIR=${DTDDIR}
|
|
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
|
|
|
PLIST_SUB+= CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
|
2000-05-10 15:24:51 +02:00
|
|
|
|
|
|
|
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 \
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
xhtml1-transitional.dtd xhtml1.dcl ${WRKSRC}/catalog.xml
|
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
|
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} -e 's#@@DTDDIR@@#${DTDDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml
|
2000-05-10 15:24:51 +02:00
|
|
|
|
2005-06-13 22:54:18 +02:00
|
|
|
pre-su-install:
|
2000-05-10 15:24:51 +02:00
|
|
|
@[ -d ${DTDDIR} ] || ${MKDIR} ${DTDDIR}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC}/DTD; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
|
2003-10-15 15:51:57 +02:00
|
|
|
${SED} -e 's|SGMLDECL.*||' ${WRKSRC}/DTD/xhtml.soc > ${DTDDIR}/xhtml-dcl.soc
|
2000-05-10 15:24:51 +02:00
|
|
|
|
2001-12-31 17:10:42 +01:00
|
|
|
post-install:
|
2003-10-15 15:51:57 +02:00
|
|
|
${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/xhtml-dcl.soc
|
Switch to using xmlcatmgr from mkcatalog.
# Maintainers, please let me know if I break something in your port.
Submitted by: hrs
PR: ports/53819, ports/53820, ports/53821, ports/53822,
ports/53823, ports/53824, ports/53825, ports/53826,
ports/53827, ports/53828, ports/53829, ports/53830,
ports/53831, ports/53832, ports/53833, ports/53834,
ports/53835, ports/53836, ports/53837
2003-07-01 08:21:09 +02:00
|
|
|
${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DTDDIR}/catalog.xml
|
2001-12-31 17:10:42 +01:00
|
|
|
|
2000-05-10 15:24:51 +02:00
|
|
|
.include <bsd.port.mk>
|