Date: Wed, 3 Oct 2012 07:45:37 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305189 - head/math/oleo Message-ID: <201210030745.q937jbFj088093@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210030745.q937jbFj088093>