summaryrefslogtreecommitdiffstats
path: root/textproc/docbook-xml-430
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-03 21:20:55 +0000
committerkrion <krion@FreeBSD.org>2004-04-03 21:20:55 +0000
commit0274af4c5c5e9b71ecae921dabee034793b637d7 (patch)
tree762b6bc9b4f696f117e351b6be2e33a2f31ddab6 /textproc/docbook-xml-430
parenta33f4d982a0c98b64035d5b088ba48b1d7976a71 (diff)
downloadFreeBSD-ports-0274af4c5c5e9b71ecae921dabee034793b637d7.zip
FreeBSD-ports-0274af4c5c5e9b71ecae921dabee034793b637d7.tar.gz
Add docbook-xml-430 4.3, docBook/XML DTD V4.3, designed for technical
documentation. PR: ports/65123 Submitted by: hrs
Diffstat (limited to 'textproc/docbook-xml-430')
-rw-r--r--textproc/docbook-xml-430/Makefile78
-rw-r--r--textproc/docbook-xml-430/distinfo2
-rw-r--r--textproc/docbook-xml-430/pkg-descr3
3 files changed, 83 insertions, 0 deletions
diff --git a/textproc/docbook-xml-430/Makefile b/textproc/docbook-xml-430/Makefile
new file mode 100644
index 0000000..c808e79
--- /dev/null
+++ b/textproc/docbook-xml-430/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: docbook-xml-430
+# Date created: 02 Apr 2004
+# Whom: hrs
+#
+# $FreeBSD$
+
+PORTNAME= docbook-xml
+PORTVERSION= 4.3
+CATEGORIES= textproc
+MASTER_SITES= http://docbook.org/xml/${PORTVERSION}/
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= DocBook/XML DTD V4.3, designed for technical documentation
+
+RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
+
+USE_ZIP= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+LATEST_LINK= ${PORTNAME}-430
+PLIST= ${WRKSRC}/pkg-plist
+
+XMLCATBASE= share/xml
+DTD_NAME= ${PORTNAME:S,-xml,,}
+DTD_VERSION= ${PORTVERSION}
+
+XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
+CATALOG_PORTS_XML= ${PREFIX}/${XMLCATBASE}/catalog.ports
+REGIST_CAT_FLAGS_XML= -c ${CATALOG_PORTS_XML} \
+ add nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml
+UNREGIST_CAT_FLAGS_XML= -c ${CATALOG_PORTS_XML} \
+ remove nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml
+
+DOC_FILES= ChangeLog README
+DTDDIR= ${XMLCATBASE}/${DTD_NAME}/${DTD_VERSION}
+DTD_FILES= calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \
+ dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbookx.dtd \
+ htmltblx.mod soextblx.dtd
+ENTDIR= ${DTDDIR}/ent
+ENT_FILES= iso-amsa.ent iso-amsb.ent iso-amsc.ent iso-amsn.ent \
+ iso-amso.ent iso-amsr.ent iso-box.ent iso-cyr1.ent \
+ iso-cyr2.ent iso-dia.ent iso-grk1.ent iso-grk2.ent \
+ iso-grk3.ent iso-grk4.ent iso-lat1.ent iso-lat2.ent \
+ iso-num.ent iso-pub.ent iso-tech.ent
+
+pre-install:
+ (for F in ${ENT_FILES}; do \
+ ${ECHO_CMD} "${ENTDIR}/$${F}"; \
+ done;\
+ ${ECHO_CMD} "@dirrm ${ENTDIR}"; ) > ${PLIST}
+ (for F in ${DTD_FILES}; do \
+ ${ECHO_CMD} "${DTDDIR}/$${F}"; \
+ done;\
+ ${ECHO_CMD} "@dirrm ${DTDDIR}";\
+ ${ECHO_CMD} "@unexec rmdir %D/${XMLCATBASE}/${DTD_NAME} 2> /dev/null || true"; ) >> ${PLIST}
+.if !defined(NOPORTDOCS)
+ (for F in ${DOC_FILES}; do \
+ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
+ done;\
+ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
+.endif
+ ${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST}
+
+do-install:
+ ${MKDIR} ${PREFIX}/${DTDDIR}
+ ${INSTALL_DATA} ${DTD_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${DTDDIR}
+ ${MKDIR} ${PREFIX}/${ENTDIR}
+ ${INSTALL_DATA} ${ENT_FILES:S,^,${WRKSRC}/ent/,} ${PREFIX}/${ENTDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+post-install:
+ -${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}
+
+.include <bsd.port.mk>
diff --git a/textproc/docbook-xml-430/distinfo b/textproc/docbook-xml-430/distinfo
new file mode 100644
index 0000000..9366f20
--- /dev/null
+++ b/textproc/docbook-xml-430/distinfo
@@ -0,0 +1,2 @@
+MD5 (docbook-xml-4.3.zip) = ab200202b9e136a144db1e0864c45074
+SIZE (docbook-xml-4.3.zip) = 83865
diff --git a/textproc/docbook-xml-430/pkg-descr b/textproc/docbook-xml-430/pkg-descr
new file mode 100644
index 0000000..ae23a10
--- /dev/null
+++ b/textproc/docbook-xml-430/pkg-descr
@@ -0,0 +1,3 @@
+XML version of the DocBook DTD V4.3.
+
+WWW: http://www.docbook.org/xml/4.3/index.html
OpenPOWER on IntegriCloud