diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
commit | 68b530317704ed344f567080786046479ed054fb (patch) | |
tree | 93fe9eebc56e2451ba426603948adb8749cb38e9 /textproc | |
parent | aedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff) | |
download | freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.gz freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.zst freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.zip |
Convert to new options framework
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-XML-SAX/Makefile | 6 | ||||
-rw-r--r-- | textproc/p5-ack/Makefile | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/p5-XML-SAX/Makefile b/textproc/p5-XML-SAX/Makefile index b676b948c4d0..4327db8de935 100644 --- a/textproc/p5-XML-SAX/Makefile +++ b/textproc/p5-XML-SAX/Makefile @@ -25,11 +25,13 @@ MAN3= XML::SAX.3 XML::SAX::DocumentLocator.3 XML::SAX::Intro.3 \ XML::SAX::ParserFactory.3 XML::SAX::PurePerl.3 \ XML::SAX::PurePerl::Reader.3 -OPTIONS= WRITE_INI_OK "Alter ParserDetails.ini with relevant information" on +OPTIONS_DEFINE= WRITE_INI_OK + +WRITE_INI_OK_DESC= Alter ParserDetails.ini with relevant information .include <bsd.port.options.mk> -.if defined(WITH_WRITE_INI_OK) +.if ${PORT_OPTIONS:MWRITE_INI_OK} WRITE_INI_OK= 1 .else WRITE_INI_OK= 0 diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile index ec30d15ac12f..1d5c334c2099 100644 --- a/textproc/p5-ack/Makefile +++ b/textproc/p5-ack/Makefile @@ -23,12 +23,13 @@ PERL_CONFIGURE= yes MAN1= ack.1 -OPTIONS= BASH_COMPLETE "use bash completion" off +OPTIONS_DEFINE= BASH_COMPLETE +BASH_COMPLETE_DESC= install bash completion files -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d -.if defined(WITH_BASH_COMPLETE) +.if ${PORT_OPTIONS:MBASH_COMPLETE} RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion PLIST_SUB+= BASH="" post-install: @@ -37,4 +38,4 @@ post-install: PLIST_SUB+= BASH="@comment " .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |