aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2018-09-12 15:55:07 +0800
committerromain <romain@FreeBSD.org>2018-09-12 15:55:07 +0800
commit5960f084f75b8e0ef477c859aab6b500596c0c3e (patch)
tree835b9a97a4996ee62317605941eb197420e919ec /print
parentf8349f963d964a0e27769d60173e8424ee9a9da4 (diff)
downloadfreebsd-ports-gnome-5960f084f75b8e0ef477c859aab6b500596c0c3e.tar.gz
freebsd-ports-gnome-5960f084f75b8e0ef477c859aab6b500596c0c3e.tar.zst
freebsd-ports-gnome-5960f084f75b8e0ef477c859aab6b500596c0c3e.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.
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