aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2018-09-12 07:55:07 +0000
committerRomain Tartière <romain@FreeBSD.org>2018-09-12 07:55:07 +0000
commit7f43e24f3523f614a28dd4be16e4ad13e71645e9 (patch)
tree835b9a97a4996ee62317605941eb197420e919ec /print
parentdf22a9fe3feb413a3a5635a4d536f26742896e4e (diff)
downloadports-7f43e24f3523f614a28dd4be16e4ad13e71645e9.tar.gz
ports-7f43e24f3523f614a28dd4be16e4ad13e71645e9.zip
Make X-Face support optional and disable it by default
X-Face support is disabled in the default configuration of muttprint, and the support for this option requires mail/faces which in turn requires devel/glib12 and x11-toolkits/gtk12. Make it possible for users who really care about this feature to get it, and remove these old dependencies for others.
Notes
Notes: svn path=/head/; revision=479586
Diffstat (limited to 'print')
-rw-r--r--print/muttprint/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 19ff530e11a4..cc0f4268481c 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= muttprint
PORTVERSION= 0.73
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print mail
MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION}
@@ -15,7 +15,6 @@ LICENSE= GPLv2
BUILD_DEPENDS= docbook2pdf:textproc/docbook-utils \
docbook-sgml>0:textproc/docbook-sgml
RUN_DEPENDS= psnup:print/psutils \
- uncompface:mail/faces \
p5-TimeDate>=0:devel/p5-TimeDate \
p5-Text-Iconv>=0:converters/p5-Text-Iconv
@@ -26,11 +25,13 @@ USE_TEX= latex dvipsk
NO_BUILD= yes
REINPLACE_ARGS= -i ""
-OPTIONS_DEFINE= CUPS X11 DOCS
+OPTIONS_DEFINE= CUPS X11 DOCS XFACE
OPTIONS_DEFAULT= X11
X11_DESC= graphics/ImageMagick[-nox11] dependency
+XFACE_DESC= mail/faces dependency (requires gtk12)
CUPS_RUN_DEPENDS= lpr-cups:print/cups
+XFACE_RUN_DEPENDS= uncompface:mail/faces
.if !defined(PAPERSIZE)
PAPERSIZE= letter