aboutsummaryrefslogtreecommitdiffstats
path: root/science/netcdf-cxx/Makefile
blob: 9d18620b0575a696ec382333bc4aaea30ee6ab47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$

PORTNAME=   netcdf-cxx
PORTVERSION=    4.3.0
DISTVERSIONPREFIX=  v
PORTREVISION=   1
CATEGORIES= science

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    C++ library for machine-independent, array-oriented data access

LICENSE=    UCAR_UNIDATA
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT
LICENSE_NAME=   University Corporation for Atmospheric Research/Unidata
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS=    libnetcdf.so:science/netcdf

CONFLICTS=  netcdf-3.* netcdf-4.[0-2].*

CPPFLAGS+=  -fPIC -DPIC
GNU_CONFIGURE=  yes
TEST_TARGET=    check
USE_LDCONFIG=   yes
USES=       libtool localbase pathfix

GH_ACCOUNT= Unidata
GH_PROJECT= ${PORTNAME}4
USE_GITHUB= yes

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetcdf_c++4.so.1

.include <bsd.port.mk>