46196047a4
A big Thank You to the original contributors of these ports: * Andreas Fehlner <fehlner@gmx.de> * Brad Huntting <huntting@glarp.com> * Chao Shin <quakelee@cn.FreeBSD.org> * Cheng-Lung Sung <clsung@FreeBSD.org> * Chia-Hsing Yu <me@davidyu.org> * Chris Rees <utisoft@gmail.com> * David Naylor <dbn@FreeBSD.org> * Dmitry Sivachenko <demon@FreeBSD.org> * Ed Schouten <ed@FreeBSD.org> * Eric Freeman <freebsdports@chillibear.com> * Erik B Knudsen * Fernan Aguero <fernan@iib.unsam.edu.ar> * Frederic Culot <frederic@culot.org> * Gea-Suan Lin <gslin@gslin.org> * Glenn Johnson * Greg Lewis <glewis@FreeBSD.org> * Igor Serikov <iserikov@acm.org> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Johannes M Dieterich <jmd@FreeBSD.org> * Johannes Meixner <johannes@perceivon.net> * Ju Pengfei <jupengfei@gmail.com> * Kay Lehmann <kay_lehmann@web.de> * Klaus Aehlig <aehlig@linta.de> * Kurt Kanzenbach <kurt@kmk-computers.de> * Leland Wang <llwang@infor.org> * Li-Lun Wang <llwang@infor.org> * Markus Brueffer <markus@FreeBSD.org> * NAKATA Maho <maho@FreeBSD.org> * NAKATA, Maho <maho@FreeBSD.org> * Nakata Maho <chat95@mbox.kyoto-inet.or.jp> * Nakata Maho <maho@FreeBSD.org> * Pav Lucistnik <pav@FreeBSD.org> * Pav Lucistnik <pav@oook.cz> * Pedro F. Giffuni * Pedro F. Giffuni <giffunip@tutopia.com> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rong-En Fan <rafan@FreeBSD.org> * Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp> * Seamus Venasse <svenasse@polaris.ca> * Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp> * Shin-ya MURAKAMI <murashin@gfd-dennou.org> * Shin-ya Murakami <murashin@gfd-dennou.org> * Stas Timokhin <devel@stasyan.com> * Stephen Montgomery-Smith <stephen@math.missouri.edu> * Steve Wills <steve@mouf.net * Steve Wills <steve@mouf.net> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> * TAKATSU Tomonari <tota@FreeBSD.org> * TAOKA Fumiyoshi * Thierry Thomas <thierry@pompo.net> * Tim Cas <ports@stdrand.com> * Uffe Jakobsen <uffe@uffe.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vsevolod Stakhov <vsevolod@highsecure.ru> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Wen heping <wenheping@gmail.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yuri Victorovich <yuri@rawbw.com> * anholt@FreeBSD.org * bacon@smithers.neuro.mcw.edu * batman <batman@udel.edu> * db * gurkan@phys.ethz.ch * ijliao * jbacon * maintainer.freebsd@xpoundit.com * mi * rafan@infor.org * shurd@FreeBSD.org * thierry@pompo.net * will With hat: portmgr
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
PORTNAME= grib_api
|
|
PORTVERSION= 1.28.0
|
|
DISTVERSIONSUFFIX= -Source
|
|
PORTREVISION= 5
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473437/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= ECMWF API for WMO FM-92 GRIB messages
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libnetcdf.so:science/netcdf \
|
|
libpng.so:graphics/png
|
|
|
|
CONFLICTS_INSTALL= eccodes
|
|
|
|
OPTIONS_SINGLE= JPEG
|
|
OPTIONS_SINGLE_JPEG= JASPER OPENJPEG
|
|
OPTIONS_DEFAULT=OPENJPEG
|
|
|
|
PORTSCOUT= site:https://software.ecmwf.int/wiki/display/GRIB/Releases
|
|
|
|
USES= libtool pathfix
|
|
|
|
CONFIGURE_ARGS= --enable-pthread --with-netcdf=${LOCALBASE} --with-png-support
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE}
|
|
JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper
|
|
OPENJPEG_CFLAGS= -I${LOCALBASE}/include/openjpeg-1.5
|
|
OPENJPEG_CONFIGURE_ON= --with-openjpeg=${LOCALBASE}
|
|
OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tools/grib1to2 ${STAGEDIR}${PREFIX}/bin/grib1to2
|
|
|
|
.include <bsd.port.mk>
|