From owner-svn-ports-all@FreeBSD.ORG Thu Jul 11 06:15:02 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E4950394; Thu, 11 Jul 2013 06:15:02 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id BDA6112F8; Thu, 11 Jul 2013 06:15:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6B6F2PK051776; Thu, 11 Jul 2013 06:15:02 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6B6F23d051775; Thu, 11 Jul 2013 06:15:02 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201307110615.r6B6F23d051775@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 11 Jul 2013 06:15:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322745 - head/graphics/gmt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 11 Jul 2013 06:15:03 -0000 Author: bapt Date: Thu Jul 11 06:15:02 2013 New Revision: 322745 URL: http://svnweb.freebsd.org/changeset/ports/322745 Log: Mark job unsafe Convert to USES=gmake Use options helpers Modified: head/graphics/gmt/Makefile Modified: head/graphics/gmt/Makefile ============================================================================== --- head/graphics/gmt/Makefile Thu Jul 11 06:02:40 2013 (r322744) +++ head/graphics/gmt/Makefile Thu Jul 11 06:15:02 2013 (r322745) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gmt -# Date created: 10 May 2001 -# Whom: sec@42.org -# +# Created by: sec@42.org # $FreeBSD$ -# PORTNAME= gmt PORTVERSION= 4.5.8 @@ -21,12 +17,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= The Generic Mapping Tools data processing and display software package WRKSRC= ${WRKDIR}/${PORTNAME:U}${DISTVERSION} -USE_BZIP2= yes +USES= gmake USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes CONFIGURE_ARGS+=--datadir=${DATADIR} -USE_GMAKE= yes USE_XORG= x11 xaw xmu xt +MAKE_JOBS_UNSAFE= yes PORTDOCS= * PORTDATA= * @@ -41,51 +37,28 @@ NETCDF_DESC= With netCDF (7) support OCTAVE_DESC= With OCTAVE support .include "Makefile.man" -.include - -.if ${PORT_OPTIONS:MNETCDF} -LIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf4 -CONFIGURE_ARGS+= --enable-netcdf -.endif -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug --enable-devdebug -.endif +NETCDF_LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf4 +NETCDF_CONFIGURE_ON= --enable-netcdf +DEBUG_CONFIGURE_ON= --enable-debug --enable-devdebug +SHARED_CONFIGURE_ON= --enable-shared +IMPERIAL_CONFIGURE_ON= --enable-US +EPS_CONFNIGURE_ON= --enable-eps +GDAL_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal +GDAL_CONFIGURE_ON= --enable-gdal +OCTAVE_RUN_DEPENDS= octave:${PORTSDIR}/math/octave +OCTAVE_CONFIGURE_ON= --enable-octave --enable-mex +OCTAVE_CONFIGURE_OFF= --disable-mex -.if ${PORT_OPTIONS:MDEVDEBUG} -CONFIGURE_ARGS+= --enable-devdebug -.endif +.include .if ${PORT_OPTIONS:MSHARED} -USE_LDCONFIG= yes -CONFIGURE_ARGS+= --enable-shared -.endif - -.if ${PORT_OPTIONS:MIMPERIAL} -CONFIGURE_ARGS+= --enable-US -.endif - -.if ${PORT_OPTIONS:MEPS} -CONFIGURE_ARGS+= --enable-eps -.endif - -.if ${PORT_OPTIONS:MGDAL} -LIB_DEPENDS+= gdal.17:${PORTSDIR}/graphics/gdal -CONFIGURE_ARGS+= --enable-gdal -.endif - -.if ${PORT_OPTIONS:MOCTAVE} -RUN_DEPENDS+= octave:${PORTSDIR}/math/octave -CONFIGURE_ARGS+= --enable-octave -CONFIGURE_ARGS+= --enable-mex -.else -CONFIGURE_ARGS+= --disable-mex +USE_LDCONFIG= yes .endif INSTALL_TARGET= install-gmt install-data install-man install-doc -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || \ - ${ARCH} == "alpha" || ${ARCH} == "sparc64" +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" CONFIGURE_ARGS+= --enable-64 .else CONFIGURE_ARGS+= --disable-64