aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 22:08:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-20 22:08:55 +0000
commit6b4310d64f8c2dd0fef35297ba9b842889d453ac (patch)
treea79319c9598c5b4bfa50ddd42d1e6d51dd33a98e /print
parent553b2834aa908599ee2fcc56af1fd2e1cea7b34b (diff)
downloadports-6b4310d64f8c2dd0fef35297ba9b842889d453ac.tar.gz
ports-6b4310d64f8c2dd0fef35297ba9b842889d453ac.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/pnm2ppa/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile
index 54b35b61e7f0..99daafe9d743 100644
--- a/print/pnm2ppa/Makefile
+++ b/print/pnm2ppa/Makefile
@@ -14,7 +14,8 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert PNM images to PPA for some HP printers
-OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off
+OPTIONS_DEFINE= A4SIZE
+A4SIZE_DESC= Set A4 (not Letter) as a default paper size
USE_GHOSTSCRIPT_RUN= yes
USE_GMAKE= yes
@@ -28,7 +29,7 @@ PKGDEINSTALL= ${PKGINSTALL}
.include <bsd.port.pre.mk>
-.if defined(A4) || defined(WITH_A4SIZE)
+.if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE}
RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-a4
.else
RUN_DEPENDS= enscript:${PORTSDIR}/print/enscript-letter