aboutsummaryrefslogtreecommitdiff
path: root/print/muttprint
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-11-28 11:19:53 +0000
committerJohn Marino <marino@FreeBSD.org>2014-11-28 11:19:53 +0000
commitf8b2417d0bb3f263884666dc4d38b6637551ae84 (patch)
tree97af5b35aac432afd9a8aef4adefc9e1c197b19d /print/muttprint
parentb17dd118435fdf8400d35f9817e0c876997b25a5 (diff)
downloadports-f8b2417d0bb3f263884666dc4d38b6637551ae84.tar.gz
ports-f8b2417d0bb3f263884666dc4d38b6637551ae84.zip
Notes
Diffstat (limited to 'print/muttprint')
-rw-r--r--print/muttprint/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 833a599c12bf..180bede8290a 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= muttprint
PORTVERSION= 0.72d
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES?= print mail
MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION}
@@ -12,7 +12,6 @@ COMMENT?= Utility to print mail for most any mail client
RUN_DEPENDS= psnup:${PORTSDIR}/print/psutils \
uncompface:${PORTSDIR}/mail/faces \
- convert:${PORTSDIR}/graphics/ImageMagick \
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv
@@ -22,7 +21,10 @@ USE_TEX= latex dvipsk
NO_BUILD= yes
REINPLACE_ARGS= -i ""
-OPTIONS_DEFINE= CUPS DOCS
+OPTIONS_DEFINE= CUPS DOCS X11
+OPTIONS_DEFAULT= X11
+X11_DESC= graphics/ImageMagick[-nox11] dependency
+
CUPS_RUN_DEPENDS= cupstestppd:${PORTSDIR}/print/cups-base \
espgs:${PORTSDIR}/print/cups-pstoraster
@@ -42,6 +44,12 @@ PRINT_COMMAND=lpr -P$$PRINTER
INSTALL_TARGET=install-with-doc
.endif
+.if ${PORT_OPTIONS:MX11}
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.else
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
+
pre-everything::
@${ECHO}
@${ECHO} Set PAPERSIZE=a4 if you need that paper size.