aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-21 18:26:02 +0800
committerpav <pav@FreeBSD.org>2007-03-21 18:26:02 +0800
commite79d763ecd1da3ee4075a2b0c01e0d5f1ba3d7be (patch)
tree9dd4955f6c00cf8321f0f73341fdac45b0fa5f8e /graphics
parent1472081b1f1ee593b9ae2a3e872b30d82abcdbd2 (diff)
downloadfreebsd-ports-gnome-e79d763ecd1da3ee4075a2b0c01e0d5f1ba3d7be.tar.gz
freebsd-ports-gnome-e79d763ecd1da3ee4075a2b0c01e0d5f1ba3d7be.tar.zst
freebsd-ports-gnome-e79d763ecd1da3ee4075a2b0c01e0d5f1ba3d7be.zip
- Generalize dependency on ghostscript
- While here, fix OPTIONS handling Reported by: pointyhat exprun
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gle-graphics/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/gle-graphics/Makefile b/graphics/gle-graphics/Makefile
index 6b8b1e5eb219..78a5c9233ac0 100644
--- a/graphics/gle-graphics/Makefile
+++ b/graphics/gle-graphics/Makefile
@@ -39,7 +39,7 @@ post-patch:
.include <bsd.port.pre.mk>
-.if defined(WITH_BITMAP_IMAGES)
+.if !defined(WITHOUT_BITMAP_IMAGES)
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiffxx.4:${PORTSDIR}/graphics/tiff
@@ -48,12 +48,12 @@ CONFIGURE_ARGS+= --with-jpeg=${LOCALBASE} --with-tiff=${LOCALBASE} --with-png=$
CONFIGURE_ARGS+= --with-jpeg=no --with-png=no -with-tiff=no
.endif
-.if defined(WITH_LATEX_GS)
-RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
- gs:${PORTSDIR}/print/ghostscript-gnu
+.if !defined(WITHOUT_LATEX_GS)
+USE_GHOSTSCRIPT_RUN= yes
+RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX
.endif
-.if defined(WITH_X_WINDOWS)
+.if !defined(WITHOUT_X_WINDOWS)
CONFIGURE_ARGS+= --with-x
USE_XLIB= yes
.endif