Define IS_INTERACTIVE only when WITH_JADETEX is not defined.
Pointed out by: marcel and jhay
This commit is contained in:
parent
c8c4f67a43
commit
264319b1f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116878
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user