1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/textproc/docproj/Makefile
2001-02-23 19:37:06 +00:00

60 lines
1.5 KiB
Makefile

# New ports collection makefile for: docproj
# Date created: 27 June 1998
# Whom: Nik Clayton <nik@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= docproj
PORTVERSION= 1.3
CATEGORIES= textproc
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= nik@freebsd.org
RUN_DEPENDS= instant:${PORTSDIR}/textproc/sgmlformat \
tidy:${PORTSDIR}/www/tidy \
${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/3.1/docbook.dtd:${PORTSDIR}/textproc/docbook-310 \
${PREFIX}/share/sgml/docbook/4.1/docbook.dtd:${PORTSDIR}/textproc/docbook-410 \
${PREFIX}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \
${PREFIX}/bin/eps2png:${PORTSDIR}/graphics/eps2png \
${PREFIX}/bin/pngtopnm:${PORTSDIR}/graphics/netpbm
.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
RUN_DEPENDS+= lynx:${PORTSDIR}/www/lynx
.else
RUN_DEPENDS+= w3m:${PORTSDIR}/www/w3m
.endif
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
do-install: # empty
.include <bsd.port.mk>