1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/science/grib_api/Makefile
Sunpoet Po-Chuan Hsieh 710e9ec26c - Update to 1.14.7
- Add LICENSE_FILE
- Bump PORTREVISION for science/grib_api shlib change

Changes:	https://software.ecmwf.int/wiki/display/GRIB/Latest+news
2016-04-17 18:40:09 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= grib_api
PORTVERSION= 1.14.7
DISTVERSIONSUFFIX= -Source
CATEGORIES= science
MASTER_SITES= https://software.ecmwf.int/wiki/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
OPTIONS_SINGLE= JPEG
OPTIONS_SINGLE_JPEG= JASPER OPENJPEG
OPTIONS_DEFAULT=OPENJPEG
PORTSCOUT= site:https://software.ecmwf.int/wiki/display/GRIB/Releases
CONFIGURE_ARGS= --enable-pthread --with-netcdf=${LOCALBASE} --with-png-support
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= libtool pathfix
PORTDATA= *
JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE}
JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper
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>