aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-app-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-03 03:09:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-03 03:09:07 +0000
commit038bde8e8756af7ee83565f2834f04846dca929e (patch)
tree658cbea08af79e45865568b210c833a7a6725908 /graphics/gimp-app-devel
parentb8899162aa41b8c501de776d1f074260000e72f6 (diff)
downloadports-038bde8e8756af7ee83565f2834f04846dca929e.tar.gz
ports-038bde8e8756af7ee83565f2834f04846dca929e.zip
Allow one to disable GIMP print support with the WITHOUT_PRINT macro.
PR: 48998 Submitted by: Seva Gluschenko <gvs@rinet.ru>
Notes
Notes: svn path=/head/; revision=78022
Diffstat (limited to 'graphics/gimp-app-devel')
-rw-r--r--graphics/gimp-app-devel/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile
index a76ba2ef1b11..9f8895273789 100644
--- a/graphics/gimp-app-devel/Makefile
+++ b/graphics/gimp-app-devel/Makefile
@@ -19,7 +19,6 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
- gimpprint.2:${PORTSDIR}/print/gimp-print \
art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
aa.1:${PORTSDIR}/graphics/aalib \
jpeg.9:${PORTSDIR}/graphics/jpeg \
@@ -63,6 +62,12 @@ CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif
+.if defined(WITHOUT_PRINT)
+CONFIGURE_ARGS+= --disable-print
+.else
+LIB_DEPENDS+= gimpprint.2:${PORTSDIR}/print/gimp-print
+.endif
+
.if exists(${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc)
RUN_DEPENDS+= gnome-panel:${PORTSDIR}/x11/gnomepanel
CONFIGURE_ARGS+= --with-gnome-datadir=${X11BASE}/share/gnome
@@ -79,7 +84,8 @@ pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} ""
- @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support"
+ @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support"
+ @${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing"
@${ECHO_MSG} ""
.include <bsd.port.mk>