2006-04-14 07:39:15 +02:00
|
|
|
# New ports collection makefile for: docbook
|
1999-04-15 00:26:54 +02:00
|
|
|
# Date created: 7 April 1997
|
1999-05-05 19:40:24 +02:00
|
|
|
# Whom: nik
|
1999-04-15 00:26:54 +02:00
|
|
|
#
|
|
|
|
# Based heavily on work by jfieber.
|
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1999-04-15 00:26:54 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= docbook
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTVERSION= 241
|
2003-07-07 13:51:39 +02:00
|
|
|
PORTREVISION= 2
|
1999-04-15 00:26:54 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.ora.com/pub/davenport/
|
|
|
|
DISTFILES= docbk241.tar.Z
|
2006-04-14 07:39:15 +02:00
|
|
|
EXTRACT_ONLY= # empty
|
1999-04-15 00:26:54 +02:00
|
|
|
|
2006-04-15 08:46:10 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= V2.4.1 of the DocBook DTD, designed for technical documentation
|
1999-04-15 00:26:54 +02:00
|
|
|
|
2000-10-27 17:31:04 +02:00
|
|
|
RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
|
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}:${PORTSDIR}/textproc/xmlcatmgr
|
1999-04-15 00:26:54 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_MTREE= yes
|
|
|
|
NO_BUILD= yes
|
1999-04-15 00:26:54 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
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= DTD_NAME=${PORTNAME}
|
|
|
|
PLIST_SUB+= DTD_VERSION=${DTD_VERSION}
|
|
|
|
PLIST_SUB+= XMLCATMGR=${XMLCATMGR}
|
|
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
1999-04-15 00:26:54 +02:00
|
|
|
|
|
|
|
INSTDIR= ${PREFIX}/share/sgml/docbook
|
|
|
|
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
|
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= ${LOCALBASE}/bin/xmlcatmgr
|
|
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
DTD_VERSION= 2.4.1
|
1999-04-15 00:26:54 +02:00
|
|
|
|
2001-11-09 13:16:14 +01:00
|
|
|
LATEST_LINK= docbook-241
|
|
|
|
|
2005-06-01 21:55:46 +02:00
|
|
|
pre-su-install:
|
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
|
|
|
@[ -d ${INSTDIR}/${DTD_VERSION} ] || ${MKDIR} ${INSTDIR}/${DTD_VERSION}
|
1999-04-15 00:26:54 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-01-22 09:05:25 +01:00
|
|
|
@zcat ${DISTDIR}/docbk241.tar.Z | \
|
|
|
|
(cd ${INSTDIR}/${DTD_VERSION}; ${PAX} -r)
|
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
|
|
|
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/${DTD_VERSION}/catalog
|
|
|
|
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/${DTD_VERSION}/catalog
|
|
|
|
@${CHMOD} ${SHAREMODE} ${INSTDIR}/${DTD_VERSION}/*
|
2001-06-01 07:15:32 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
1999-04-15 00:26:54 +02:00
|
|
|
|
2000-10-27 17:31:04 +02:00
|
|
|
post-install:
|
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} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${DTD_VERSION}/catalog
|
2000-10-27 17:31:04 +02:00
|
|
|
|
1999-04-15 00:26:54 +02:00
|
|
|
.include <bsd.port.mk>
|