aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docbook-sgml
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-02-19 22:45:19 +0800
committermat <mat@FreeBSD.org>2014-02-19 22:45:19 +0800
commitdbb1ea4a1c2c2fd33c12e2595f9c2c338eca812a (patch)
tree613726703c4327bff2ddfcb55ef1b9f90d377c79 /textproc/docbook-sgml
parent9a203bdd2462c6238732c3f2c8888a02e114c3ea (diff)
downloadfreebsd-ports-gnome-dbb1ea4a1c2c2fd33c12e2595f9c2c338eca812a.tar.gz
freebsd-ports-gnome-dbb1ea4a1c2c2fd33c12e2595f9c2c338eca812a.tar.zst
freebsd-ports-gnome-dbb1ea4a1c2c2fd33c12e2595f9c2c338eca812a.zip
Consolidate the docbook ports into -sgml and -xml variants.
Submitted by: hrs (based on) Sponsored by: Absolight
Diffstat (limited to 'textproc/docbook-sgml')
-rw-r--r--textproc/docbook-sgml/Makefile53
-rw-r--r--textproc/docbook-sgml/distinfo18
-rw-r--r--textproc/docbook-sgml/pkg-descr3
-rw-r--r--textproc/docbook-sgml/pkg-plist149
4 files changed, 223 insertions, 0 deletions
diff --git a/textproc/docbook-sgml/Makefile b/textproc/docbook-sgml/Makefile
new file mode 100644
index 000000000000..b72eb8cede58
--- /dev/null
+++ b/textproc/docbook-sgml/Makefile
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME= docbook
+PORTVERSION= 4.5
+CATEGORIES= textproc
+MASTER_SITES= ${DBFILES:C,(.*):(.*),http://www.oasis-open.org/docbook/sgml/\1/:\2,:C,:docbook-([0-9]+).([0-9]+),:db\1\2,}
+PKGNAMESUFFIX= -sgml
+DISTFILES= ${DBFILES:C,.*:(.*),\1.zip:\1,:C,:docbook-([0-9]+).([0-9]+),:db\1\2,}
+
+MAINTAINER= doceng@FreeBSD.org
+COMMENT= DocBook SGML DTD
+
+RUN_DEPENDS= ${LOCALBASE}/${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
+ ${LOCALBASE}/${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
+
+NO_BUILD= yes
+
+DBFILES=2.4.1:docbk241 3.0:docbk30 3.1:docbk31 \
+ 4.0:docbk40 4.1:docbk41 4.2:docbook-4.2 \
+ 4.3:docbook-4.3 4.4:docbook-4.4 4.5:docbook-4.5
+
+XMLCATMGR= bin/xmlcatmgr
+SGMLCAT= share/sgml/catalog.ports
+ISOCAT= share/sgml/iso8879/catalog
+DBKDIR= share/sgml/docbook
+DBCAT= ${PREFIX}/${DBKDIR}/catalog
+PLIST_SUB= XMLCATMGR=${XMLCATMGR} SGMLCAT=${SGMLCAT} DBKDIR=${DBKDIR}
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+.for df in ${DISTFILES:C,:.*,,}
+ @cd ${WRKDIR} && ${EXTRACT_CMD} \
+ ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${df} \
+ ${EXTRACT_AFTER_ARGS} -s ,^,${df:R}/,
+.endfor
+
+pre-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${DBKDIR}
+ ${ECHO_CMD} "CATALOG \"${LOCALBASE}/${ISOCAT}\"" \
+ > ${STAGEDIR}${DBCAT}
+
+.for D in ${DBFILES:C,:.*,,}
+do-install-${D:S/./_/g}:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/sgml/docbook/$D
+ cd ${WRKDIR}/${DBFILES:M${D}\:*:C,.*:,,} && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/sgml/docbook/$D
+ ${ECHO_CMD} "CATALOG \"${PREFIX}/share/sgml/docbook/$D/docbook.cat" \
+ >> ${STAGEDIR}${DBCAT}
+do-install: do-install-${D:S/./_/g}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/textproc/docbook-sgml/distinfo b/textproc/docbook-sgml/distinfo
new file mode 100644
index 000000000000..9d171c6d22de
--- /dev/null
+++ b/textproc/docbook-sgml/distinfo
@@ -0,0 +1,18 @@
+SHA256 (docbk241.zip) = dbac0694e9bcaec43cab80c755ffb02cf8f613bf785ff8506e5ed72efa76a272
+SIZE (docbk241.zip) = 55653
+SHA256 (docbk30.zip) = ecf71cbe8ddbad7494ff520d5b4edf73a428c0b159178cb0cb619cba685e61c6
+SIZE (docbk30.zip) = 43441
+SHA256 (docbk31.zip) = 20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538
+SIZE (docbk31.zip) = 55952
+SHA256 (docbk40.zip) = dfef22f109779e4cfaafa27b6d381d975ac05eaafb5b3d4407d7043e310817bb
+SIZE (docbk40.zip) = 55742
+SHA256 (docbk41.zip) = deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311
+SIZE (docbk41.zip) = 56654
+SHA256 (docbook-4.2.zip) = 67ebd2c94b342718c6865d2de60f5d4ff02d77a7e4b0d9e72a48c45f2b2635c3
+SIZE (docbook-4.2.zip) = 61830
+SHA256 (docbook-4.3.zip) = 88f52fab7bd49b2e8f40c525014129c26a5a4b8bbd1494e00387556ec76f95ee
+SIZE (docbook-4.3.zip) = 66117
+SHA256 (docbook-4.4.zip) = 0ac7960409b032c8e517483523ecb92af4e59196a33b3e2c5617daa22b7a8a6c
+SIZE (docbook-4.4.zip) = 66879
+SHA256 (docbook-4.5.zip) = 8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43
+SIZE (docbook-4.5.zip) = 71252
diff --git a/textproc/docbook-sgml/pkg-descr b/textproc/docbook-sgml/pkg-descr
new file mode 100644
index 000000000000..742ff63eea81
--- /dev/null
+++ b/textproc/docbook-sgml/pkg-descr
@@ -0,0 +1,3 @@
+DocBook SGML DTD.
+
+WWW: http://www.oasis-open.org/docbook/
diff --git a/textproc/docbook-sgml/pkg-plist b/textproc/docbook-sgml/pkg-plist
new file mode 100644
index 000000000000..4842d4304703
--- /dev/null
+++ b/textproc/docbook-sgml/pkg-plist
@@ -0,0 +1,149 @@
+%%DBKDIR%%/2.4.1/241chg.txt
+%%DBKDIR%%/2.4.1/announce.txt
+%%DBKDIR%%/2.4.1/calstbl.mod
+%%DBKDIR%%/2.4.1/dbgenent.mod
+%%DBKDIR%%/2.4.1/dbhier.mod
+%%DBKDIR%%/2.4.1/dbpool.mod
+%%DBKDIR%%/2.4.1/docbook.cat
+%%DBKDIR%%/2.4.1/docbook.dcl
+%%DBKDIR%%/2.4.1/docbook.dtd
+%%DBKDIR%%/2.4.1/iso-amsa.gml
+%%DBKDIR%%/2.4.1/iso-amsb.gml
+%%DBKDIR%%/2.4.1/iso-amsc.gml
+%%DBKDIR%%/2.4.1/iso-amsn.gml
+%%DBKDIR%%/2.4.1/iso-amso.gml
+%%DBKDIR%%/2.4.1/iso-amsr.gml
+%%DBKDIR%%/2.4.1/iso-box.gml
+%%DBKDIR%%/2.4.1/iso-cyr1.gml
+%%DBKDIR%%/2.4.1/iso-cyr2.gml
+%%DBKDIR%%/2.4.1/iso-dia.gml
+%%DBKDIR%%/2.4.1/iso-grk1.gml
+%%DBKDIR%%/2.4.1/iso-grk2.gml
+%%DBKDIR%%/2.4.1/iso-grk3.gml
+%%DBKDIR%%/2.4.1/iso-grk4.gml
+%%DBKDIR%%/2.4.1/iso-lat1.gml
+%%DBKDIR%%/2.4.1/iso-lat2.gml
+%%DBKDIR%%/2.4.1/iso-num.gml
+%%DBKDIR%%/2.4.1/iso-pub.gml
+%%DBKDIR%%/2.4.1/iso-tech.gml
+%%DBKDIR%%/3.0/30chg.txt
+%%DBKDIR%%/3.0/40issues.txt
+%%DBKDIR%%/3.0/announce.txt
+%%DBKDIR%%/3.0/cals-tbl.dtd
+%%DBKDIR%%/3.0/dbgenent.mod
+%%DBKDIR%%/3.0/dbhier.mod
+%%DBKDIR%%/3.0/dbpool.mod
+%%DBKDIR%%/3.0/docbook.cat
+%%DBKDIR%%/3.0/docbook.dcl
+%%DBKDIR%%/3.0/docbook.dtd
+%%DBKDIR%%/3.1/31chg.txt
+%%DBKDIR%%/3.1/40issues.txt
+%%DBKDIR%%/3.1/50issues.txt
+%%DBKDIR%%/3.1/ChangeLog
+%%DBKDIR%%/3.1/cals-tbl.dtd
+%%DBKDIR%%/3.1/dbcent.mod
+%%DBKDIR%%/3.1/dbgenent.mod
+%%DBKDIR%%/3.1/dbhier.mod
+%%DBKDIR%%/3.1/dbnotn.mod
+%%DBKDIR%%/3.1/dbpool.mod
+%%DBKDIR%%/3.1/docbook.cat
+%%DBKDIR%%/3.1/docbook.dcl
+%%DBKDIR%%/3.1/docbook.dtd
+%%DBKDIR%%/3.1/readme.txt
+%%DBKDIR%%/4.0/40chg.txt
+%%DBKDIR%%/4.0/50issues.txt
+%%DBKDIR%%/4.0/cals-tbl.dtd
+%%DBKDIR%%/4.0/dbcent.mod
+%%DBKDIR%%/4.0/dbgenent.mod
+%%DBKDIR%%/4.0/dbhier.mod
+%%DBKDIR%%/4.0/dbnotn.mod
+%%DBKDIR%%/4.0/dbpool.mod
+%%DBKDIR%%/4.0/docbook.cat
+%%DBKDIR%%/4.0/docbook.dcl
+%%DBKDIR%%/4.0/docbook.dtd
+%%DBKDIR%%/4.0/readme.txt
+%%DBKDIR%%/4.1/40chg.txt
+%%DBKDIR%%/4.1/41chg.txt
+%%DBKDIR%%/4.1/50issues.txt
+%%DBKDIR%%/4.1/ChangeLog
+%%DBKDIR%%/4.1/cals-tbl.dtd
+%%DBKDIR%%/4.1/dbcent.mod
+%%DBKDIR%%/4.1/dbgenent.mod
+%%DBKDIR%%/4.1/dbhier.mod
+%%DBKDIR%%/4.1/dbnotn.mod
+%%DBKDIR%%/4.1/dbpool.mod
+%%DBKDIR%%/4.1/docbook.cat
+%%DBKDIR%%/4.1/docbook.dcl
+%%DBKDIR%%/4.1/docbook.dtd
+%%DBKDIR%%/4.1/readme.txt
+%%DBKDIR%%/4.2/ChangeLog
+%%DBKDIR%%/4.2/README
+%%DBKDIR%%/4.2/calstblx.dtd
+%%DBKDIR%%/4.2/catalog.xml
+%%DBKDIR%%/4.2/dbcentx.mod
+%%DBKDIR%%/4.2/dbgenent.mod
+%%DBKDIR%%/4.2/dbhierx.mod
+%%DBKDIR%%/4.2/dbnotnx.mod
+%%DBKDIR%%/4.2/dbpoolx.mod
+%%DBKDIR%%/4.2/docbook.cat
+%%DBKDIR%%/4.2/docbook.dcl
+%%DBKDIR%%/4.2/docbook.dtd
+%%DBKDIR%%/4.2/docbookx.dtd
+%%DBKDIR%%/4.2/soextblx.dtd
+%%DBKDIR%%/4.3/ChangeLog
+%%DBKDIR%%/4.3/README
+%%DBKDIR%%/4.3/calstblx.dtd
+%%DBKDIR%%/4.3/catalog.xml
+%%DBKDIR%%/4.3/dbcentx.mod
+%%DBKDIR%%/4.3/dbgenent.mod
+%%DBKDIR%%/4.3/dbhierx.mod
+%%DBKDIR%%/4.3/dbnotnx.mod
+%%DBKDIR%%/4.3/dbpoolx.mod
+%%DBKDIR%%/4.3/docbook.cat
+%%DBKDIR%%/4.3/docbook.dcl
+%%DBKDIR%%/4.3/docbook.dtd
+%%DBKDIR%%/4.3/docbookx.dtd
+%%DBKDIR%%/4.3/htmltblx.mod
+%%DBKDIR%%/4.3/soextblx.dtd
+%%DBKDIR%%/4.4/ChangeLog
+%%DBKDIR%%/4.4/README
+%%DBKDIR%%/4.4/calstblx.dtd
+%%DBKDIR%%/4.4/catalog.xml
+%%DBKDIR%%/4.4/dbcentx.mod
+%%DBKDIR%%/4.4/dbgenent.mod
+%%DBKDIR%%/4.4/dbhierx.mod
+%%DBKDIR%%/4.4/dbnotnx.mod
+%%DBKDIR%%/4.4/dbpoolx.mod
+%%DBKDIR%%/4.4/docbook.cat
+%%DBKDIR%%/4.4/docbook.dcl
+%%DBKDIR%%/4.4/docbook.dtd
+%%DBKDIR%%/4.4/docbookx.dtd
+%%DBKDIR%%/4.4/htmltblx.mod
+%%DBKDIR%%/4.4/soextblx.dtd
+%%DBKDIR%%/4.5/README
+%%DBKDIR%%/4.5/calstblx.dtd
+%%DBKDIR%%/4.5/catalog.xml
+%%DBKDIR%%/4.5/dbcentx.mod
+%%DBKDIR%%/4.5/dbgenent.mod
+%%DBKDIR%%/4.5/dbhierx.mod
+%%DBKDIR%%/4.5/dbnotnx.mod
+%%DBKDIR%%/4.5/dbpoolx.mod
+%%DBKDIR%%/4.5/docbook.cat
+%%DBKDIR%%/4.5/docbook.dcl
+%%DBKDIR%%/4.5/docbook.dtd
+%%DBKDIR%%/4.5/docbookx.dtd
+%%DBKDIR%%/4.5/htmltblx.mod
+%%DBKDIR%%/4.5/soextblx.dtd
+%%DBKDIR%%/catalog
+@unexec %D/%%XMLCATMGR%% -sc %D/%%SGMLCAT%% remove CATALOG %D/%F
+@exec %D/%%XMLCATMGR%% -sc %D/%%SGMLCAT%% add CATALOG %D/%F
+@dirrmtry %%DBKDIR%%/4.5
+@dirrmtry %%DBKDIR%%/4.4
+@dirrmtry %%DBKDIR%%/4.3
+@dirrmtry %%DBKDIR%%/4.2
+@dirrmtry %%DBKDIR%%/4.1
+@dirrmtry %%DBKDIR%%/4.0
+@dirrmtry %%DBKDIR%%/3.1
+@dirrmtry %%DBKDIR%%/3.0
+@dirrmtry %%DBKDIR%%/2.4.1
+@dirrmtry %%DBKDIR%%