aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-08-21 15:27:28 +0800
committerhrs <hrs@FreeBSD.org>2004-08-21 15:27:28 +0800
commit0b25825818000019c0c189a3bfc1961e00a6199c (patch)
treebf712cbc7002b724b136f9ddc9a54b3185f46b78 /textproc
parent109be05a78fddd25816d6e428e0496ba3f719ff8 (diff)
downloadfreebsd-ports-gnome-0b25825818000019c0c189a3bfc1961e00a6199c.tar.gz
freebsd-ports-gnome-0b25825818000019c0c189a3bfc1961e00a6199c.tar.zst
freebsd-ports-gnome-0b25825818000019c0c189a3bfc1961e00a6199c.zip
Define IS_INTERACTIVE only when WITH_JADETEX is not defined.
Pointed out by: marcel and jhay
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docproj/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile
index 485134c8ac3e..200a515a21d7 100644
--- a/textproc/docproj/Makefile
+++ b/textproc/docproj/Makefile
@@ -46,6 +46,9 @@ WITH_JADETEX= ${JADETEX}
.endif
WITH_JADETEX?=
+.if empty(WITH_JADETEX)
+IS_INTERACTIVE= "user must set WITH_JADETEX variable to 'yes' or 'no'"
+.endif
.if defined(WITH_JADETEX) && ${WITH_JADETEX} == yes
RUN_DEPENDS+= ${LOCALBASE}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex
.endif
@@ -57,8 +60,6 @@ PLIST_FILES= #empty
WITHOUT_X11= yes
DEPENDS_ARGS+= BATCH=yes WITHOUT_X11=${WITHOUT_X11}
-IS_INTERACTIVE= "user must set WITH_JADETEX variable to 'yes' or 'no'"
-
message-jadetex:
@${CAT} ${FILESDIR}/JADETEX
@${FALSE}