From owner-svn-ports-all@FreeBSD.ORG Sat Oct 6 21:59:42 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78AC4106566B; Sat, 6 Oct 2012 21:59:42 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 638798FC17; Sat, 6 Oct 2012 21:59:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q96Lxgtw049411; Sat, 6 Oct 2012 21:59:42 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q96Lxgjf049409; Sat, 6 Oct 2012 21:59:42 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210062159.q96Lxgjf049409@svn.freebsd.org> From: Eitan Adler Date: Sat, 6 Oct 2012 21:59:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305411 - head/ports-mgmt/pver X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 21:59:42 -0000 Author: eadler Date: Sat Oct 6 21:59:41 2012 New Revision: 305411 URL: http://svn.freebsd.org/changeset/ports/305411 Log: Convert to OptionsNG Approved by: zi (maintainer) Modified: head/ports-mgmt/pver/Makefile Modified: head/ports-mgmt/pver/Makefile ============================================================================== --- head/ports-mgmt/pver/Makefile Sat Oct 6 21:58:43 2012 (r305410) +++ head/ports-mgmt/pver/Makefile Sat Oct 6 21:59:41 2012 (r305411) @@ -1,9 +1,5 @@ -# New ports collection makefile for: pver -# Date created: 2008-11-07 -# Whom: Wei-Yu Chen -# +# Created by: Wei-Yu Chen # $FreeBSD$ -# PORTNAME= pver PORTVERSION= 0.16 @@ -15,8 +11,9 @@ MASTER_SITES= http://www.csie.nctu.edu.t 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 -.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+