aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-10-31 22:11:51 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-10-31 22:11:51 +0000
commit343344257f496d057ee8a56616e4b2826b4f3b45 (patch)
tree01e6e9ce031a20b60aed09cff89924c43d324310 /textproc/docbook
parent1b7bd576eac89bf351883fe5a2eb50641c520eda (diff)
downloadports-343344257f496d057ee8a56616e4b2826b4f3b45.tar.gz
ports-343344257f496d057ee8a56616e4b2826b4f3b45.zip
Notes
Diffstat (limited to 'textproc/docbook')
-rw-r--r--textproc/docbook/Makefile87
-rw-r--r--textproc/docbook/files/catalog7
2 files changed, 71 insertions, 23 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile
index 3a48b4594141..add977472e30 100644
--- a/textproc/docbook/Makefile
+++ b/textproc/docbook/Makefile
@@ -10,25 +10,80 @@
PORTNAME= docbook
PORTVERSION= 1.3
CATEGORIES= textproc
-MASTER_SITES= # empty
-DISTFILES= # empty
+MASTER_SITES= #
+DISTFILES= #
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= alepulver@FreeBSD.org
COMMENT= Meta-port for the different versions of the DocBook DTD
-RUN_DEPENDS= ${PREFIX}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \
- ${PREFIX}/share/sgml/docbook/2.4.1:${PORTSDIR}/textproc/docbook-241 \
- ${PREFIX}/share/sgml/docbook/3.0:${PORTSDIR}/textproc/docbook-300 \
- ${PREFIX}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310 \
- ${PREFIX}/share/sgml/docbook/4.0:${PORTSDIR}/textproc/docbook-400 \
- ${PREFIX}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-410 \
- ${PREFIX}/share/xml/docbook/4.2:${PORTSDIR}/textproc/docbook-xml
-
-EXTRACT_ONLY= # empty
NO_BUILD= yes
-PLIST_FILES= share/sgml/docbook/catalog
-do-install:
- @${INSTALL_DATA} ${FILESDIR}/catalog ${PREFIX}/share/sgml/docbook/catalog
+OPTIONS= DB241 "DocBook SGML DTD 2.4.1" on \
+ DB30 "DocBook SGML DTD 3.0" on \
+ DB31 "DocBook SGML DTD 3.1" on \
+ DB40 "DocBook SGML DTD 4.0" on \
+ DB41 "DocBook SGML DTD 4.1" on \
+ DB41_XML "DocBook XML DTD 4.1" off \
+ DB42 "DocBook SGML DTD 4.2" off \
+ DB42_XML "DocBook XML DTD 4.2" on \
+ DB43_XML "DocBook XML DTD 4.3" off \
+ DB44_XML "DocBook XML DTD 4.4" off \
+ DB45_XML "DocBook XML DTD 4.5" off \
+ ISO8879 "ISO 8879:1986 character entity sets (SGML)" on \
+ SDB_XML "Simplified DocBook XML DTD" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_DB241)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/2.4.1:${PORTSDIR}/textproc/docbook-241
+.endif
+
+.if defined(WITH_DB30)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/3.0:${PORTSDIR}/textproc/docbook-300
+.endif
+
+.if defined(WITH_DB31)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310
+.endif
+
+.if defined(WITH_DB40)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.0:${PORTSDIR}/textproc/docbook-400
+.endif
+
+.if defined(WITH_DB41)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-410
+.endif
+
+.if defined(WITH_DB41_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk
+.endif
+
+.if defined(WITH_DB42)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.2:${PORTSDIR}/textproc/docbook-420
+.endif
+
+.if defined(WITH_DB42_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.2:${PORTSDIR}/textproc/docbook-xml
+.endif
+
+.if defined(WITH_DB43_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.3:${PORTSDIR}/textproc/docbook-ml-430
+.endif
+
+.if defined(WITH_DB44_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.4:${PORTSDIR}/textproc/docbook-ml-440
+.endif
+
+.if defined(WITH_DB45_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-ml-450
+.endif
+
+.if defined(WITH_ISO8879)
+RUN_DEPENDS+= ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879
+.endif
+
+.if defined(WITH_SDB_XML)
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/sdocbook/4.1.2.5:${PORTSDIR}/textproc/sdocbook-xml
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/docbook/files/catalog b/textproc/docbook/files/catalog
deleted file mode 100644
index b21f8b1738e2..000000000000
--- a/textproc/docbook/files/catalog
+++ /dev/null
@@ -1,7 +0,0 @@
--- $FreeBSD$ --
-
-CATALOG "2.4.1/catalog"
-CATALOG "3.0/catalog"
-CATALOG "3.1/catalog"
-CATALOG "4.0/catalog"
-CATALOG "4.1/catalog"