1999-03-28 09:18:35 -05:00
|
|
|
# New ports collection makefile for: DocBook XML DTD
|
|
|
|
# Date created: 28 March 1999
|
|
|
|
# Whom: kuriyama
|
|
|
|
#
|
1999-08-30 22:11:56 -04:00
|
|
|
# $FreeBSD$
|
1999-03-28 09:18:35 -05:00
|
|
|
#
|
|
|
|
|
2002-10-08 22:47:03 -04:00
|
|
|
PORTNAME= docbook-xml
|
|
|
|
PORTVERSION= 4.2
|
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 02:21:09 -04:00
|
|
|
PORTREVISION= 1
|
1999-03-28 09:18:35 -05:00
|
|
|
CATEGORIES= textproc
|
2002-10-15 01:53:27 -04:00
|
|
|
MASTER_SITES= http://www.docbook.org/xml/${PORTVERSION}/ \
|
|
|
|
http://www.oasis-open.org/committees/docbook/xml/${PORTVERSION}/
|
1999-03-28 09:18:35 -05:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
2003-02-22 02:48:51 -05:00
|
|
|
COMMENT= XML version of the DocBook DTD
|
1999-03-28 09:18:35 -05: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 02:21:09 -04:00
|
|
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
2002-01-20 04:55:02 -05:00
|
|
|
|
1999-12-03 21:08:55 -05:00
|
|
|
USE_ZIP= YES
|
2002-01-19 00:45:25 -05:00
|
|
|
NO_BUILD= YES
|
|
|
|
NO_WRKSUBDIR= YES
|
2002-01-20 04:55:02 -05:00
|
|
|
PLIST_SUB= DTD_VERSION=${PORTVERSION} \
|
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 02:21:09 -04:00
|
|
|
XMLCATMGR=${XMLCATMGR}\
|
|
|
|
DOCBOOKDIR=${DOCBOOKDIR}\
|
|
|
|
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
|
|
|
|
CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
|
1999-03-28 09:18:35 -05:00
|
|
|
|
2002-10-08 22:47:03 -04:00
|
|
|
DOCBOOKDIR= ${PREFIX}/share/xml/${PORTNAME:S/-xml//}/${PORTVERSION}
|
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 02:21:09 -04:00
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
|
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
|
1999-03-28 09:18:35 -05:00
|
|
|
|
|
|
|
pre-install:
|
2002-01-20 04:55:02 -05:00
|
|
|
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
|
1999-03-28 09:18:35 -05:00
|
|
|
|
|
|
|
do-install:
|
2002-01-20 04:55:02 -05:00
|
|
|
for file in `unzip -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCBOOKDIR}/$$file; \
|
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
2004-02-12 20:16:55 -05:00
|
|
|
@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DOCBOOKDIR}/docbook.cat
|
|
|
|
@-${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${DOCBOOKDIR}/catalog.xml
|
1999-03-28 09:18:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|