View | Details | Raw Unified | Return to bug 143516
Collapse All | Expand All

(-)/usr/ports/sunpoet/cdo/Makefile (-11 / +21 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=		cdo
9
PORTNAME=		cdo
10
PORTVERSION=		1.3.1
10
PORTVERSION=		1.4.1
11
PORTREVISION=		2
12
CATEGORIES=		science
11
CATEGORIES=		science
13
MASTER_SITES=		http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
12
MASTER_SITES=		http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
14
			http://sunpoet.net/distfiles/
13
			http://sunpoet.net/distfiles/
Lines 29-34 Link Here
29
HDF5_VER?=		18
28
HDF5_VER?=		18
30
29
31
OPTIONS=		HDF5	"HDF5 support"		on \
30
OPTIONS=		HDF5	"HDF5 support"		on \
31
			JASPER	"Japser support"	on \
32
			NETCDF	"NetCDF support"	on \
32
			NETCDF	"NetCDF support"	on \
33
			PROJ	"PROJ support"		on
33
			PROJ	"PROJ support"		on
34
34
Lines 42-58 Link Here
42
IGNORE=netCDF 4 requires HDF5 1.8.
42
IGNORE=netCDF 4 requires HDF5 1.8.
43
.endif
43
.endif
44
44
45
.if defined(WITH_NETCDF)
45
.if defined(WITH_NETCDF) && (${NETCDF_VER} == 4)
46
CONFIGURE_ARGS+=	--with-netcdf=${LOCALBASE}
47
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-src-Makefile.in
48
.if (${NETCDF_VER} == 4)
49
HDF5_VER=		18
46
HDF5_VER=		18
50
WITH_HDF5=		yes
47
WITH_HDF5=		yes
51
LIB_DEPENDS+=		netcdf.6:${PORTSDIR}/science/netcdf4
52
.else
53
LIB_DEPENDS+=		netcdf.4:${PORTSDIR}/science/netcdf
54
.endif
55
PLIST_FILES+=		bin/cdotest
56
.endif
48
.endif
57
49
58
.if defined(WITH_HDF5)
50
.if defined(WITH_HDF5)
Lines 64-69 Link Here
64
.endif
56
.endif
65
.endif
57
.endif
66
58
59
.if defined(WITH_JASPER)
60
CONFIGURE_ARGS+=	--with-jasper=${LOCALBASE}
61
LIB_DEPENDS+=		jasper:${PORTSDIR}/graphics/jasper
62
PLIST_SUB+=		JPEG2000=""
63
.else
64
.endif
65
66
.if defined(WITH_NETCDF)
67
CONFIGURE_ARGS+=	--with-netcdf=${LOCALBASE}
68
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-src-Makefile.in
69
.if (${NETCDF_VER} == 4)
70
LIB_DEPENDS+=		netcdf.6:${PORTSDIR}/science/netcdf4
71
.else
72
LIB_DEPENDS+=		netcdf.4:${PORTSDIR}/science/netcdf
73
.endif
74
PLIST_FILES+=		bin/cdotest
75
.endif
76
67
.if defined(WITH_PROJ)
77
.if defined(WITH_PROJ)
68
CONFIGURE_ARGS+=	--with-proj=${LOCALBASE}
78
CONFIGURE_ARGS+=	--with-proj=${LOCALBASE}
69
LIB_DEPENDS+=		proj.6:${PORTSDIR}/graphics/proj
79
LIB_DEPENDS+=		proj.6:${PORTSDIR}/graphics/proj
(-)/usr/ports/sunpoet/cdo/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cdo-1.3.1.tar.gz) = 98f81bf86e47573bc0d2ba700fc7400a
1
MD5 (cdo-1.4.1.tar.gz) = 774b8de3d537a1049e446ffdb50d55f1
2
SHA256 (cdo-1.3.1.tar.gz) = 18d481e56d7cafe78c1951834056329e3d9d97ceb4940833ba5a0f0eecae3775
2
SHA256 (cdo-1.4.1.tar.gz) = 139de46904890a990879762d14cfdbea4108eb1dfbb859fc745b3eb236747a0c
3
SIZE (cdo-1.3.1.tar.gz) = 2613036
3
SIZE (cdo-1.4.1.tar.gz) = 2652758

Return to bug 143516