aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-06-04 12:56:48 +0800
committermiwi <miwi@FreeBSD.org>2012-06-04 12:56:48 +0800
commitd8feeaadff9c1ce707500eaa1fac690672ef2399 (patch)
tree88d482a23b1e3789d517a709db517c65ea932603
parent5814d25c218852ba76b122cc640e963cdf25633e (diff)
downloadfreebsd-ports-gnome-d8feeaadff9c1ce707500eaa1fac690672ef2399.tar.gz
freebsd-ports-gnome-d8feeaadff9c1ce707500eaa1fac690672ef2399.tar.zst
freebsd-ports-gnome-d8feeaadff9c1ce707500eaa1fac690672ef2399.zip
- Convert to optionNG
-rw-r--r--archivers/pecl-lzf/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/archivers/pecl-lzf/Makefile b/archivers/pecl-lzf/Makefile
index 702d3f8318a3..4868def1987c 100644
--- a/archivers/pecl-lzf/Makefile
+++ b/archivers/pecl-lzf/Makefile
@@ -24,9 +24,12 @@ IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --enable-lzf
WRKSRC= ${WRKDIR}/${DISTNAME:U}
-OPTIONS= BETTER_COMPRESSION "Better compression ratio" off
+OPTIONS_DEFINE= BETTER_COMPRESSION
+BETTER_COMPRESSION_DESC= Better compression ratio
-.if defined(WITH_BETTER_COMPRESSION)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MBETTER_COMPRESSION}
CONFIGURE_ARGS+= --enable-lzf-better-compression
@${ECHO_MSG} "--enable-lzf-better-compression"
.endif