aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docproj/Makefile
blob: 9df2226038803b7369d64405d8d073a84c4ba7ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# New ports collection makefile for:   docproj
# Date created:        27 June 1998
# Whom:                Nik Clayton <nik@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   docproj
PORTVERSION=    1.1
CATEGORIES= textproc
MASTER_SITES=   # empty
DISTFILES=  # empty

MAINTAINER= nik@freebsd.org

RUN_DEPENDS=    instant:${PORTSDIR}/textproc/sgmlformat \
        tidy:${PORTSDIR}/www/tidy \
        w3m:${PORTSDIR}/www/w3m \
        ${PREFIX}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \
        ${PREFIX}/share/sgml/html/catalog:${PORTSDIR}/textproc/html \
        ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \
        ${PREFIX}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook \
        ${PREFIX}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879

IS_INTERACTIVE= "user must set JADETEX variable to 'yes' or 'no'"

JADETEX?=

.if empty(JADETEX) && (make(build) || make(install))
.BEGIN:
    @${CAT} files/JADETEX
    @${FALSE}
.endif

.if ${JADETEX} == yes
RUN_DEPENDS+= ${PREFIX}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex
.endif

EXTRACT_ONLY=   # empty
NO_BUILD=   yes

.if defined(WITH_OPENJADE)
RUN_DEPENDS+=   openjade:${PORTSDIR}/textproc/openjade
.else
RUN_DEPENDS+=   jade:${PORTSDIR}/textproc/jade
.endif

.if ${MACHINE_ARCH} == "alpha"
WITH_OPENJADE=  yes
.endif

do-install: # empty

.include <bsd.port.mk>