diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-21 06:08:55 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-21 06:08:55 +0800 |
commit | cfbf8f98773007414abe4bf957baa96d9dfbcd95 (patch) | |
tree | a79319c9598c5b4bfa50ddd42d1e6d51dd33a98e /print | |
parent | b28e3318ddee33e6d884b53da0e0a2f17396f066 (diff) | |
download | freebsd-ports-gnome-cfbf8f98773007414abe4bf957baa96d9dfbcd95.tar.gz freebsd-ports-gnome-cfbf8f98773007414abe4bf957baa96d9dfbcd95.tar.zst freebsd-ports-gnome-cfbf8f98773007414abe4bf957baa96d9dfbcd95.zip |
Convert to new options framework
Diffstat (limited to 'print')
-rw-r--r-- | print/pnm2ppa/Makefile | 5 |
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 |