2001-09-12 20:53:10 +02:00
|
|
|
# New ports collection makefile for: docbook-400
|
|
|
|
# Date created: 4 April 2000
|
|
|
|
# Whom: asmodai
|
|
|
|
#
|
|
|
|
# Based on nik's docbook-310 port
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= docbook
|
|
|
|
PORTVERSION= 4.0
|
2003-07-07 13:51:39 +02:00
|
|
|
PORTREVISION= 2
|
2001-09-12 20:53:10 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://www.oasis-open.org/docbook/sgml/4.0/
|
|
|
|
DISTNAME= docbk40
|
|
|
|
|
2003-10-18 00:19:49 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= V4.0 of the DocBook DTD, designed for technical documentation
|
2001-09-12 20:53:10 +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
|
2001-09-12 20:53:10 +02:00
|
|
|
|
2004-04-19 11:20:45 +02:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
2001-09-12 20:53:10 +02:00
|
|
|
USE_ZIP= yes
|
|
|
|
NO_MTREE= yes
|
|
|
|
EXTRACT_ONLY= # empty
|
|
|
|
NO_BUILD= yes
|
|
|
|
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}
|
2001-09-12 20:53:10 +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
|
2001-09-12 20:53:10 +02:00
|
|
|
|
2001-11-09 13:16:14 +01:00
|
|
|
LATEST_LINK= docbook-400
|
|
|
|
|
2005-04-28 01:35:54 +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}
|
2001-09-12 20:53:10 +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-09-12 20:53:10 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
|
|
|
|
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
|
2001-09-12 20:53:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|