1999-04-14 22:29:16 +00:00
|
|
|
# New ports collection makefile for: docbook-300
|
|
|
|
# Date created: 7 April 1999
|
1999-05-05 17:40:24 +00:00
|
|
|
# Whom: nik
|
1999-04-14 22:29:16 +00:00
|
|
|
#
|
|
|
|
# Based heavily on work by jfieber
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1999-04-14 22:29:16 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= docbook
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTVERSION= 3.0
|
2008-08-14 18:29:04 +00:00
|
|
|
PORTREVISION= 4
|
1999-04-14 22:29:16 +00:00
|
|
|
CATEGORIES= textproc
|
2008-08-07 22:21:54 +00:00
|
|
|
MASTER_SITES= http://www.oasis-open.org/docbook/sgml/${PORTVERSION}/
|
|
|
|
DISTNAME= docbk30
|
1999-04-14 22:29:16 +00:00
|
|
|
|
2008-08-07 22:21:54 +00:00
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= V3.0 of the DocBook DTD, designed for technical documentation
|
1999-04-14 22:29:16 +00:00
|
|
|
|
2000-10-27 15:31:04 +00: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 06:21:09 +00:00
|
|
|
${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
1999-04-14 22:29:16 +00:00
|
|
|
|
2008-08-07 22:21:54 +00:00
|
|
|
USE_ZIP= yes
|
2001-01-16 17:33:20 +00:00
|
|
|
NO_MTREE= yes
|
|
|
|
NO_BUILD= yes
|
1999-04-14 22:29:16 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2008-08-07 22:21:54 +00:00
|
|
|
DTDDIR= share/sgml/docbook/3.0/dtd
|
|
|
|
PLIST_SUB+= SGMLCAT_ADD="${SGMLCAT_ADD}" \
|
|
|
|
SGMLCAT_RM="${SGMLCAT_RM}"
|
|
|
|
|
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 06:21:09 +00:00
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
2008-08-07 22:21:54 +00:00
|
|
|
SGMLCAT= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
XMLCAT= ${PREFIX}/share/xml/catalog.ports
|
|
|
|
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
|
1999-04-14 22:29:16 +00:00
|
|
|
|
2008-08-07 22:21:54 +00:00
|
|
|
SGMLCAT_ADD= ${XMLCATMGR} -sc ${SGMLCAT} add CATALOG \
|
|
|
|
${PREFIX}/${DTDDIR}/catalog
|
|
|
|
SGMLCAT_RM= ${XMLCATMGR} -sc ${SGMLCAT} remove \
|
|
|
|
${PREFIX}/${DTDDIR}/catalog
|
2001-11-09 12:16:14 +00:00
|
|
|
|
2008-08-07 22:21:54 +00:00
|
|
|
LATEST_LINK= docbook-300
|
1999-04-14 22:29:16 +00:00
|
|
|
|
|
|
|
do-install:
|
2008-08-07 22:21:54 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${DTDDIR}
|
2012-05-23 17:02:34 +00:00
|
|
|
files=$$(${FIND} ${WRKSRC} -type f \! -name '.*'); \
|
2008-08-07 22:21:54 +00:00
|
|
|
for i in $${files}; do \
|
|
|
|
${INSTALL_DATA} $${i} ${PREFIX}/${DTDDIR}; \
|
|
|
|
done
|
2008-08-14 18:29:04 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/catalog ${PREFIX}/${DTDDIR}
|
2008-08-07 22:21:54 +00:00
|
|
|
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${PREFIX}/${DTDDIR}/catalog
|
1999-04-14 22:29:16 +00:00
|
|
|
|
2000-10-27 15:31:04 +00:00
|
|
|
post-install:
|
2008-08-07 22:21:54 +00:00
|
|
|
-${SGMLCAT_ADD}
|
2000-10-27 15:31:04 +00:00
|
|
|
|
1999-04-14 22:29:16 +00:00
|
|
|
.include <bsd.port.mk>
|