From owner-svn-ports-head@freebsd.org Sun Feb 12 08:20:21 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3663CDA10C; Sun, 12 Feb 2017 08:20:21 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C05BA1AD4; Sun, 12 Feb 2017 08:20:21 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1C8KKUc042394; Sun, 12 Feb 2017 08:20:20 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1C8KKZs042393; Sun, 12 Feb 2017 08:20:20 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201702120820.v1C8KKZs042393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 12 Feb 2017 08:20:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433931 - head/science/cgribex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 08:20:22 -0000 Author: sunpoet Date: Sun Feb 12 08:20:20 2017 New Revision: 433931 URL: https://svnweb.freebsd.org/changeset/ports/433931 Log: Add GRIB_API option Modified: head/science/cgribex/Makefile Modified: head/science/cgribex/Makefile ============================================================================== --- head/science/cgribex/Makefile Sun Feb 12 08:20:16 2017 (r433930) +++ head/science/cgribex/Makefile Sun Feb 12 08:20:20 2017 (r433931) @@ -13,7 +13,7 @@ COMMENT= Lightweight GRIBEX in C with po LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= JASPER SZIP +OPTIONS_DEFINE= GRIB_API JASPER SZIP OPTIONS_DEFAULT=JASPER SZIP CPPFLAGS+= -DgFortran @@ -22,6 +22,9 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= libtool +GRIB_API_CONFIGURE_OFF= --without-grib_api +GRIB_API_CONFIGURE_ON= --with-grib_api=${LOCALBASE} +GRIB_API_LIB_DEPENDS= libgrib_api.so:science/grib_api JASPER_CONFIGURE_OFF= --without-jasper JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE} JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper