aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-02-18 11:42:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-02-18 11:42:15 +0000
commit8db5eef6fa61b9abe61158ecfc1ddaa1a7c11951 (patch)
treea68fe5c0aef926abb6cde39491f4417c3df0d991 /textproc/docbook
parent68c161eb43457c37b74ac17f7f937709ca073928 (diff)
downloadports-8db5eef6fa61b9abe61158ecfc1ddaa1a7c11951.tar.gz
ports-8db5eef6fa61b9abe61158ecfc1ddaa1a7c11951.zip
Use new options knobs.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=344865
Diffstat (limited to 'textproc/docbook')
-rw-r--r--textproc/docbook/Makefile98
1 files changed, 21 insertions, 77 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile
index 817c58b1dee2..ce939b928f41 100644
--- a/textproc/docbook/Makefile
+++ b/textproc/docbook/Makefile
@@ -3,7 +3,7 @@
PORTNAME= docbook
PORTVERSION= 1.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= #
DISTFILES= #
@@ -12,6 +12,8 @@ MAINTAINER= gabor@FreeBSD.org
COMMENT= Meta-port for the different versions of the DocBook DTD
NO_BUILD= yes
+NO_INSTALL= yes
+NO_MTREE= yes
OPTIONS_DEFINE= DB241 DB30 DB31 DB40 DB41 DB42 DB43 DB44 DB45 DB41_XML \
DB42_XML DB43_XML DB44_XML DB45_XML DB50_XML SDB_XML \
@@ -37,81 +39,23 @@ SDB_XML_DESC= Simplified DocBook XML DTD
SGMLCHARENT_DESC= ISO 8879:1986 character entity sets (SGML)
XMLCHARENT_DESC= ISO 8879:1986 character entity sets (XML)
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDB241}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/2.4.1:${PORTSDIR}/textproc/docbook-241
-.endif
-
-.if ${PORT_OPTIONS:MDB30}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/3.0:${PORTSDIR}/textproc/docbook-300
-.endif
-
-.if ${PORT_OPTIONS:MDB31}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310
-.endif
-
-.if ${PORT_OPTIONS:MDB40}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.0:${PORTSDIR}/textproc/docbook-400
-.endif
-
-.if ${PORT_OPTIONS:MDB41}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-410
-.endif
-
-.if ${PORT_OPTIONS:MDB42}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.2:${PORTSDIR}/textproc/docbook-420
-.endif
-
-.if ${PORT_OPTIONS:MDB43}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.3:${PORTSDIR}/textproc/docbook-430
-.endif
-
-.if ${PORT_OPTIONS:MDB44}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.4:${PORTSDIR}/textproc/docbook-440
-.endif
-
-.if ${PORT_OPTIONS:MDB45}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.5:${PORTSDIR}/textproc/docbook-450
-.endif
-
-.if ${PORT_OPTIONS:MDB41_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk
-.endif
-
-.if ${PORT_OPTIONS:MDB42_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.2:${PORTSDIR}/textproc/docbook-xml
-.endif
-
-.if ${PORT_OPTIONS:MDB43_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.3:${PORTSDIR}/textproc/docbook-xml-430
-.endif
-
-.if ${PORT_OPTIONS:MDB44_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.4:${PORTSDIR}/textproc/docbook-xml-440
-.endif
-
-.if ${PORT_OPTIONS:MDB45_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml-450
-.endif
-
-.if ${PORT_OPTIONS:MDB50_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/5.0:${PORTSDIR}/textproc/docbook-500
-.endif
-
-.if ${PORT_OPTIONS:MSDB_XML}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/sdocbook/1.1:${PORTSDIR}/textproc/sdocbook-xml
-.endif
-
-.if ${PORT_OPTIONS:MSGMLCHARENT}
-RUN_DEPENDS+= ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879
-.endif
-
-.if ${PORT_OPTIONS:MXMLCHARENT}
-RUN_DEPENDS+= ${LOCALBASE}/share/xml/xmlcharent/catalog:${PORTSDIR}/textproc/xmlcharent
-.endif
-
-do-install:
- @${DO_NADA}
+DB241_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/2.4.1:${PORTSDIR}/textproc/docbook-241
+DB30_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/3.0:${PORTSDIR}/textproc/docbook-300
+DB31_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310
+DB40_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.0:${PORTSDIR}/textproc/docbook-400
+DB41_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-410
+DB42_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.2:${PORTSDIR}/textproc/docbook-420
+DB43_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.3:${PORTSDIR}/textproc/docbook-430
+DB44_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.4:${PORTSDIR}/textproc/docbook-440
+DB45_RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.5:${PORTSDIR}/textproc/docbook-450
+DB41_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-sk
+DB42_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2:${PORTSDIR}/textproc/docbook-xml
+DB43_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.3:${PORTSDIR}/textproc/docbook-xml-430
+DB44_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4:${PORTSDIR}/textproc/docbook-xml-440
+DB45_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml-450
+DB50_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/5.0:${PORTSDIR}/textproc/docbook-500
+SDB_XML_RUN_DEPENDS= ${LOCALBASE}/share/xml/sdocbook/1.1:${PORTSDIR}/textproc/sdocbook-xml
+SGMLCHARENT_RUN_DEPENDS= ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879
+XMLCHARENT_RUN_DEPENDS= ${LOCALBASE}/share/xml/xmlcharent/catalog:${PORTSDIR}/textproc/xmlcharent
.include <bsd.port.mk>