1999-04-15 00:30:42 +02:00
|
|
|
# New ports collection makefile for: docbook-310
|
|
|
|
# Date created: 7 April 1999
|
1999-05-05 19:40:24 +02:00
|
|
|
# Whom: nik
|
1999-04-15 00:30:42 +02:00
|
|
|
#
|
|
|
|
# Based heavily on work by jfieber
|
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1999-04-15 00:30:42 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= docbook
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTVERSION= 3.1
|
2003-07-07 13:51:39 +02:00
|
|
|
PORTREVISION= 2
|
1999-04-15 00:30:42 +02:00
|
|
|
CATEGORIES= textproc
|
2000-09-07 21:36:11 +02:00
|
|
|
MASTER_SITES= http://www.docbook.org/sgml/3.1/
|
2000-04-09 23:54:47 +02:00
|
|
|
DISTNAME= docbk31
|
1999-04-15 00:30:42 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= nik@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= V3.1 of the DocBook DTD, designed for technical documentation
|
1999-04-15 00:30:42 +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:30:42 +02:00
|
|
|
|
2004-04-19 11:20:45 +02:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
1999-05-03 14:31:59 +02:00
|
|
|
USE_ZIP= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_MTREE= yes
|
1999-04-15 00:30:42 +02:00
|
|
|
EXTRACT_ONLY= # empty
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_BUILD= yes
|
1999-04-15 00:30:42 +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=${PORTVERSION}
|
|
|
|
PLIST_SUB+= XMLCATMGR=${XMLCATMGR}
|
|
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
1999-04-15 00:30:42 +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
|
1999-04-15 00:30:42 +02:00
|
|
|
|
2001-11-09 13:16:14 +01:00
|
|
|
LATEST_LINK= docbook-310
|
|
|
|
|
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}/${PORTVERSION} ] || ${MKDIR} ${INSTDIR}/${PORTVERSION}
|
1999-04-15 00:30:42 +02:00
|
|
|
|
|
|
|
do-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
|
|
|
@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}/${PORTVERSION}
|
|
|
|
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/${PORTVERSION}/catalog
|
|
|
|
@${ECHO_CMD} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/${PORTVERSION}/catalog
|
|
|
|
@${CHMOD} ${SHAREMODE} ${INSTDIR}/${PORTVERSION}/*
|
2001-06-01 07:15:32 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
1999-04-15 00:30:42 +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}/${PORTVERSION}/catalog
|
2000-10-27 17:31:04 +02:00
|
|
|
|
1999-04-15 00:30:42 +02:00
|
|
|
.include <bsd.port.mk>
|