diff options
author | gahr <gahr@FreeBSD.org> | 2012-10-03 15:45:37 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-10-03 15:45:37 +0800 |
commit | c6bca169a007dfd043a07079ce5666ab2bb4a528 (patch) | |
tree | 5b52720f852f7634fd2d4f8c8ae1bbcf950df84b /math/oleo | |
parent | 4fa996ea91510ff43acce6b3525f82936e89d726 (diff) | |
download | freebsd-ports-gnome-c6bca169a007dfd043a07079ce5666ab2bb4a528.tar.gz freebsd-ports-gnome-c6bca169a007dfd043a07079ce5666ab2bb4a528.tar.zst freebsd-ports-gnome-c6bca169a007dfd043a07079ce5666ab2bb4a528.zip |
- Convert to OptionsNG
Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG
Diffstat (limited to 'math/oleo')
-rw-r--r-- | math/oleo/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile index c1c935fe9c99..b53ee32ba89a 100644 --- a/math/oleo/Makefile +++ b/math/oleo/Makefile @@ -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 --without-SciPlot 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> |