diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-07 05:59:41 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-07 05:59:41 +0800 |
commit | 9629249b189e86af37c9dcc44a6186ea4d1c6748 (patch) | |
tree | 2e2360a8095740e54c866f9fbb32664e887ce4e2 /ports-mgmt/pver | |
parent | 0f5d891e155641af6eb9e458b5dda31d1c56a894 (diff) | |
download | freebsd-ports-gnome-9629249b189e86af37c9dcc44a6186ea4d1c6748.tar.gz freebsd-ports-gnome-9629249b189e86af37c9dcc44a6186ea4d1c6748.tar.zst freebsd-ports-gnome-9629249b189e86af37c9dcc44a6186ea4d1c6748.zip |
Convert to OptionsNG
Approved by: zi (maintainer)
Diffstat (limited to 'ports-mgmt/pver')
-rw-r--r-- | ports-mgmt/pver/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ports-mgmt/pver/Makefile b/ports-mgmt/pver/Makefile index 7c9b94789426..e2043d6a5259 100644 --- a/ports-mgmt/pver/Makefile +++ b/ports-mgmt/pver/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: pver -# Date created: 2008-11-07 -# Whom: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> -# +# Created by: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> # $FreeBSD$ -# PORTNAME= pver PORTVERSION= 0.16 @@ -15,8 +11,9 @@ MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \ MAINTAINER= zi@FreeBSD.org COMMENT= Show packages which are different version from ports using INDEX-*.db -OPTIONS= SORT "Sort the result by the package names" Off \ - DB185 "Use BerkeleyDB 1.85/1.86" Off +OPTIONS_DEFINE= SORT DB185 +SORT_DESC= Sort the result by the package names +DB185_DESC= Use BerkeleyDB 1.85/1.86 WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ARGS+= PORTSDIR=${PORTSDIR} @@ -31,11 +28,11 @@ PLIST_DIRS= %%DATADIR%% .include <bsd.port.pre.mk> -.if defined(WITH_SORT) +.if ${PORT_OPTIONS:MSORT} MAKE_ARGS+= -DSORT .endif -.if defined(WITH_DB185) +.if ${PORT_OPTIONS:MDB185} MAKE_ARGS+= -DBSD_DB .else USE_BDB= 41+ |