From owner-svn-ports-all@FreeBSD.ORG Wed Oct 3 07:45:37 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4C9B1065670; Wed, 3 Oct 2012 07:45:37 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8CC8FC12; Wed, 3 Oct 2012 07:45:37 +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 q937jbUr088095; Wed, 3 Oct 2012 07:45:37 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q937jbFj088093; Wed, 3 Oct 2012 07:45:37 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201210030745.q937jbFj088093@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 3 Oct 2012 07:45:37 +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: r305189 - head/math/oleo 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: Wed, 03 Oct 2012 07:45:37 -0000 Author: gahr Date: Wed Oct 3 07:45:37 2012 New Revision: 305189 URL: http://svn.freebsd.org/changeset/ports/305189 Log: - Convert to OptionsNG Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG Modified: head/math/oleo/Makefile (contents, props changed) Modified: head/math/oleo/Makefile ============================================================================== --- head/math/oleo/Makefile Wed Oct 3 07:39:41 2012 (r305188) +++ head/math/oleo/Makefile Wed Oct 3 07:45:37 2012 (r305189) @@ -1,9 +1,5 @@ -# New ports collection makefile for: oleo -# Date created: 3 September 1994 -# Whom: mr -# +# Created by: mr # $FreeBSD$ -# PORTNAME= oleo PORTVERSION= 1.99.16 @@ -25,12 +21,11 @@ CONFIGURE_ARGS= --with-x --without-xlt - INFO= oleo PORTDOCS= AUTHORS FAQ -OPTIONS= MOTIF "Motif support" off \ - NLS "NLS support" on +OPTIONS_DEFINE= MOTIF NLS -.include +.include -.if !defined(WITHOUT_MOTIF) +.if ${PORT_OPTIONS:MMOTIF} LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \ Xbae:${PORTSDIR}/x11-toolkits/xbae \ XmHTML:${PORTSDIR}/x11-toolkits/xmhtml @@ -41,12 +36,12 @@ USE_XORG= xt ice sm CONFIGURE_ARGS+= --without-motif .endif -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB= NLS="@comment " .endif post-patch: @@ -68,4 +63,4 @@ pre-build: && iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE} .endfor -.include +.include