aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/scotty3
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
commit400f4557f621dbddf5da9a9c3f672d54d04cd85a (patch)
tree62415c090168bbbce63fa6ac99b77ed4776e2edb /net-mgmt/scotty3
parent32c1d41f35db356892c43e23571d0bdbf2fafa32 (diff)
downloadports-400f4557f621dbddf5da9a9c3f672d54d04cd85a.tar.gz
ports-400f4557f621dbddf5da9a9c3f672d54d04cd85a.zip
Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
Notes
Notes: svn path=/head/; revision=43523
Diffstat (limited to 'net-mgmt/scotty3')
-rw-r--r--net-mgmt/scotty3/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile
index bb9ae82aa85c..8bfe4e067db1 100644
--- a/net-mgmt/scotty3/Makefile
+++ b/net-mgmt/scotty3/Makefile
@@ -13,7 +13,7 @@ DISTNAME= ${PORTNAME}-00-02-21
MAINTAINER= ozz@FreeBSD.org.ru
-.ifdef (NO_X)
+.ifdef (WITHOUT_X11)
PKGNAMESUFFIX= -nox11
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
.else
@@ -24,7 +24,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.3 \
--enable-multicast
-.ifdef (NO_X)
+.ifdef (WITHOUT_X11)
CONFIGURE_ARGS+=--with-tk=no
.else
CONFIGURE_ARGS+=--with-tk=${PREFIX}/lib/tk8.3
@@ -43,7 +43,7 @@ PLIST_SUB= SCOTTY_VERSION=3.0.0 TKINED_VERSION=1.5.0
MAKE_ARGS+= -j2 # better than -j1 on all machines...
INSTALL_TARGET= tnm-install sinstall
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
MAN1+= tkined.1
MANN+= ined.n
PLIST_SUB+= X11=''
@@ -59,7 +59,7 @@ post-patch:
post-install:
${RM} -f ${PREFIX}/bin/scotty ${PREFIX}/bin/tkined
${LN} -s scotty3.0.0 ${PREFIX}/bin/scotty
-.ifndef NO_X
+.ifndef WITHOUT_X11
${LN} -s tkined1.5.0 ${PREFIX}/bin/tkined
.endif