Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= netcdf |
4 |
PORTNAME= netcdf |
5 |
PORTVERSION= 3.6.3 |
5 |
PORTVERSION= 3.6.3 |
6 |
PORTREVISION?= 5 |
6 |
PORTREVISION?= 6 |
7 |
CATEGORIES= science |
7 |
CATEGORIES= science |
8 |
MASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/ \ |
8 |
MASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/ \ |
9 |
ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ |
9 |
ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ |
Lines 16-21
COMMENT?= Library for machine-independen
Link Here
|
16 |
CONFLICTS= hdf-4.* netcdf-4.* |
16 |
CONFLICTS= hdf-4.* netcdf-4.* |
17 |
PORTSCOUT= limit:^3\. |
17 |
PORTSCOUT= limit:^3\. |
18 |
|
18 |
|
|
|
19 |
USES= libtool |
19 |
CONFIGURE_ARGS= --enable-shared |
20 |
CONFIGURE_ARGS= --enable-shared |
20 |
CPPFLAGS+= -I${LOCALBASE}/include -fPIC -DPIC |
21 |
CPPFLAGS+= -I${LOCALBASE}/include -fPIC -DPIC |
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
Lines 23-35
USE_LDCONFIG= yes
Link Here
|
23 |
|
24 |
|
24 |
INFO= netcdf netcdf-c netcdf-cxx netcdf-f77 netcdf-f90 \ |
25 |
INFO= netcdf netcdf-c netcdf-cxx netcdf-f77 netcdf-f90 \ |
25 |
netcdf-install netcdf-tutorial |
26 |
netcdf-install netcdf-tutorial |
26 |
MAN1= ncdump.1 ncgen.1 |
|
|
27 |
MAN3= netcdf.3 |
28 |
|
27 |
|
29 |
OPTIONS_DEFINE= FORTRAN DOCS |
28 |
OPTIONS_DEFINE= FORTRAN DOCS |
30 |
FORTRAN_DESC= Build library for Fortran |
29 |
FORTRAN_DESC= Build library for Fortran |
31 |
|
30 |
|
32 |
NO_STAGE= yes |
|
|
33 |
.include <bsd.port.options.mk> |
31 |
.include <bsd.port.options.mk> |
34 |
|
32 |
|
35 |
.if ${PORT_OPTIONS:MDOCS} |
33 |
.if ${PORT_OPTIONS:MDOCS} |
Lines 41-47
CONFIGURE_ARGS+=--disable-docs-install
Link Here
|
41 |
.if ${PORT_OPTIONS:MFORTRAN} |
39 |
.if ${PORT_OPTIONS:MFORTRAN} |
42 |
CPPFLAGS+= -DpgiFortran |
40 |
CPPFLAGS+= -DpgiFortran |
43 |
CONFLICTS+= netcdf-3.* |
41 |
CONFLICTS+= netcdf-3.* |
44 |
MAN3+= netcdf_f77.3 netcdf_f90.3 |
|
|
45 |
PLIST_SUB+= FORTRAN="" |
42 |
PLIST_SUB+= FORTRAN="" |
46 |
USES+= fortran |
43 |
USES+= fortran |
47 |
.else |
44 |
.else |