mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Convert to new options framework
This commit is contained in:
parent
553b2834aa
commit
6b4310d64f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301254
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user