svn commit: r301254 - head/print/pnm2ppa
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 20 22:08:57 UTC 2012
Author: bapt
Date: Fri Jul 20 22:08:55 2012
New Revision: 301254
URL: http://svn.freebsd.org/changeset/ports/301254
Log:
Convert to new options framework
Modified:
head/print/pnm2ppa/Makefile
Modified: head/print/pnm2ppa/Makefile
==============================================================================
--- head/print/pnm2ppa/Makefile Fri Jul 20 22:06:49 2012 (r301253)
+++ head/print/pnm2ppa/Makefile Fri Jul 20 22:08:55 2012 (r301254)
@@ -14,7 +14,8 @@ MASTER_SITES= SF
MAINTAINER= ports at 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
More information about the svn-ports-head
mailing list