mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
e6951b3559
PR: ports/107734 Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp>
93 lines
2.4 KiB
Makefile
93 lines
2.4 KiB
Makefile
# New ports collection makefile for: docbook
|
|
# Date created: 7 April 1999
|
|
# Whom: Nik Clayton <nik@freebsd.org>
|
|
#
|
|
# Based heavily on work by jfieber
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= docbook
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= #
|
|
DISTFILES= #
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= Meta-port for the different versions of the DocBook DTD
|
|
|
|
NO_BUILD= yes
|
|
|
|
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-xml-430
|
|
.endif
|
|
|
|
.if defined(WITH_DB44_XML)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.4:${PORTSDIR}/textproc/docbook-xml-440
|
|
.endif
|
|
|
|
.if defined(WITH_DB45_XML)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml-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/1.1:${PORTSDIR}/textproc/sdocbook-xml
|
|
.endif
|
|
|
|
do-install:
|
|
@${DO_NADA}
|
|
|
|
.include <bsd.port.post.mk>
|