aboutsummaryrefslogtreecommitdiffstats
path: root/print
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 /print
parenta89b2f073dc7dd991872fe5f4f9c8bf20341af75 (diff)
downloadfreebsd-ports-gnome-053fd210dfb21a6ab915fb493618c4b6c097ec06.tar.gz
freebsd-ports-gnome-053fd210dfb21a6ab915fb493618c4b6c097ec06.tar.zst
freebsd-ports-gnome-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 'print')
-rw-r--r--print/apsfilter/Makefile16
-rw-r--r--print/ghostscript-afpl/Makefile8
-rw-r--r--print/ghostscript-gpl/Makefile8
-rw-r--r--print/ghostscript6-nox11/Makefile2
-rw-r--r--print/ghostscript6/Makefile8
-rw-r--r--print/ghostscript8/Makefile8
6 files changed, 25 insertions, 25 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
index 1662055b3d6c..03b0ca834174 100644
--- a/print/apsfilter/Makefile
+++ b/print/apsfilter/Makefile
@@ -18,10 +18,10 @@ MAINTAINER= andreas@FreeBSD.org
NO_X= yes
.endif
-.if defined(NO_X)
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+.if defined(WITHOUT_X11)
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif
@@ -30,7 +30,7 @@ MAKE_ENV+= NO_X=true
# - <default> build and install most important filter utilities
# that don't require X
# - APSFILTER_ALL build and install all supported filter utilities
-# - NO_X toggles not to build tools that need X11, even if
+# - WITHOUT_X11 toggles not to build tools that need X11, even if
# APSFILTER_ALL is set
#
.if defined(BATCH) && defined(APSFILTER_ALL)
@@ -38,7 +38,7 @@ MAKE_ENV+= NO_X=true
# Build and install all filter apsfilter knows about (rather expensive)
#
# ps emulator
-.if defined(NO_X)
+.if defined(WITHOUT_X11)
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6-nox11
.else
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
@@ -49,7 +49,7 @@ RUN_DEPENDS+= melt:${PORTSDIR}/archivers/freeze
# all needed "xxx to ps" filter utilities
RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
# "xxx to ps" filter utilities that require X
RUN_DEPENDS+= acroread4:${PORTSDIR}/print/acroread4
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
@@ -70,7 +70,7 @@ RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba
# since apsfilter should fit easily on installation CD 1...
#
# ps emulator
-.if defined(NO_X)
+.if defined(WITHOUT_X11)
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6-nox11
.else
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index 02ce82b3ff95..04c44f5ceb5b 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -40,12 +40,12 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
ALL_TARGET= all pcl3opts escputil
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
.else
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index 02ce82b3ff95..04c44f5ceb5b 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -40,12 +40,12 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
ALL_TARGET= all pcl3opts escputil
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
.else
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif
diff --git a/print/ghostscript6-nox11/Makefile b/print/ghostscript6-nox11/Makefile
index 9275d95e2181..232bfc8137dc 100644
--- a/print/ghostscript6-nox11/Makefile
+++ b/print/ghostscript6-nox11/Makefile
@@ -10,7 +10,7 @@ PKGNAMESUFFIX= -nox11
MAINTAINER= nik@freebsd.org
-NO_X= yes
+WITHOUT_X11= yes
MASTERDIR= ${.CURDIR}/../ghostscript6
diff --git a/print/ghostscript6/Makefile b/print/ghostscript6/Makefile
index 02ce82b3ff95..04c44f5ceb5b 100644
--- a/print/ghostscript6/Makefile
+++ b/print/ghostscript6/Makefile
@@ -40,12 +40,12 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
ALL_TARGET= all pcl3opts escputil
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
.else
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 02ce82b3ff95..04c44f5ceb5b 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -40,12 +40,12 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
ALL_TARGET= all pcl3opts escputil
-.if !defined(NO_X)
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
.else
-# XXX Hack. If you've done something like "-DNO_X" on the command line
-# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure
-# that NO_X is defined *and* has a value.
+# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
+# (instead of WITHOUT_X11=true, or similar) gmake won't pick it up. So make
+# sure that NO_X is defined *and* has a value.
MAKE_ENV+= NO_X=true
.endif