diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-11-01 06:11:51 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-11-01 06:11:51 +0800 |
commit | 5f3480d6155c0b7692ff97a68546c3f73bafe164 (patch) | |
tree | fda473daa7ef7c49fbfa188ab1b1b32caab2e15a /textproc/docbook | |
parent | db776c6b0cfb0773b2f0979ef708319d99361df2 (diff) | |
download | freebsd-ports-gnome-5f3480d6155c0b7692ff97a68546c3f73bafe164.tar.gz freebsd-ports-gnome-5f3480d6155c0b7692ff97a68546c3f73bafe164.tar.zst freebsd-ports-gnome-5f3480d6155c0b7692ff97a68546c3f73bafe164.zip |
- Add OPTIONS for all the DocBook versions.
- Take maintainership.
- Remove catalog file (each port adds itself to the corresponding catalog).
Diffstat (limited to 'textproc/docbook')
-rw-r--r-- | textproc/docbook/Makefile | 87 | ||||
-rw-r--r-- | textproc/docbook/files/catalog | 7 |
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" |