aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/scotty3
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-06-05 19:38:35 +0800
committersobomax <sobomax@FreeBSD.org>2001-06-05 19:38:35 +0800
commit053fd210dfb21a6ab915fb493618c4b6c097ec06 (patch)
treece1effe547ea71762f28c9ca1843326696099a34 /net-mgmt/scotty3
parenta89b2f073dc7dd991872fe5f4f9c8bf20341af75 (diff)
downloadfreebsd-ports-graphics-053fd210dfb21a6ab915fb493618c4b6c097ec06.tar.gz
freebsd-ports-graphics-053fd210dfb21a6ab915fb493618c4b6c097ec06.tar.zst
freebsd-ports-graphics-053fd210dfb21a6ab915fb493618c4b6c097ec06.zip
Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
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 bb9ae82aa85..8bfe4e067db 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