aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-03-09 07:14:22 +0800
committermiwi <miwi@FreeBSD.org>2010-03-09 07:14:22 +0800
commit81f95ce2a19bb2af08aec743b9f116ac1bdafa24 (patch)
tree54ab143a741749dac3408d46ed7b2cfe60317e72 /science
parent4343fc6088deffc9ef4f738d204e7296657ec842 (diff)
downloadfreebsd-ports-gnome-81f95ce2a19bb2af08aec743b9f116ac1bdafa24.tar.gz
freebsd-ports-gnome-81f95ce2a19bb2af08aec743b9f116ac1bdafa24.tar.zst
freebsd-ports-gnome-81f95ce2a19bb2af08aec743b9f116ac1bdafa24.zip
- Update to 2.1.14
PR: 144428 Submitted by: Ports Fury
Diffstat (limited to 'science')
-rw-r--r--science/udunits/Makefile19
-rw-r--r--science/udunits/distinfo6
2 files changed, 16 insertions, 9 deletions
diff --git a/science/udunits/Makefile b/science/udunits/Makefile
index fb49c10e647b..601d527052b7 100644
--- a/science/udunits/Makefile
+++ b/science/udunits/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= udunits
-PORTVERSION= 2.1.9
+PORTVERSION= 2.1.14
CATEGORIES= science math
-MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/${PORTNAME}/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/udunits|}
+MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for manipulating units of physical quantities
-GNU_CONFIGURE= yes
+LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+
USE_PERL5= yes
+USE_AUTOTOOLS= libtool:22
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ ac_cv_header_CUnit_CUnit_h=no
+MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
-CFLAGS+= -fPIC
+
+INFO= udunits2 udunits2lib udunits2prog
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.mk>
diff --git a/science/udunits/distinfo b/science/udunits/distinfo
index 91755c390188..c18ec1cd5742 100644
--- a/science/udunits/distinfo
+++ b/science/udunits/distinfo
@@ -1,3 +1,3 @@
-MD5 (udunits-2.1.9.tar.gz) = b1eafe8854f1c94c52ede253c5cdb017
-SHA256 (udunits-2.1.9.tar.gz) = 50cc4687d589c36a23a5069efa73e47a90c8e093326c2bd28844a421d1613780
-SIZE (udunits-2.1.9.tar.gz) = 1033486
+MD5 (udunits-2.1.14.tar.gz) = 17698289a0d6b04551fe6d6a389af41c
+SHA256 (udunits-2.1.14.tar.gz) = 6065001cf91d716d33b4aa81b7cd2354a2a751988fad6970b7874413ddf2c02b
+SIZE (udunits-2.1.14.tar.gz) = 1053762