aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-08-04 01:20:30 +0800
committerscheidell <scheidell@FreeBSD.org>2012-08-04 01:20:30 +0800
commit432fba0c7cbbb5c0a9fcc4a4bbbbe925625e0f77 (patch)
treedc2b2d77acc23343e208533b841a0b0902f70509 /math
parent03555f9ca643efe9297ac9c83c180672097a1092 (diff)
downloadfreebsd-ports-gnome-432fba0c7cbbb5c0a9fcc4a4bbbbe925625e0f77.tar.gz
freebsd-ports-gnome-432fba0c7cbbb5c0a9fcc4a4bbbbe925625e0f77.tar.zst
freebsd-ports-gnome-432fba0c7cbbb5c0a9fcc4a4bbbbe925625e0f77.zip
- Update to 2.00
PR: ports/169917 Submitted by: Klaus Aehlig <aehlig@linta.de> Approved by: maintainer (timeout, 17 days)
Diffstat (limited to 'math')
-rw-r--r--math/units/Makefile10
-rw-r--r--math/units/distinfo4
-rw-r--r--math/units/pkg-descr2
-rw-r--r--math/units/pkg-plist6
4 files changed, 17 insertions, 5 deletions
diff --git a/math/units/Makefile b/math/units/Makefile
index 03d9c8599f10..b8247fdd1725 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= units
-PORTVERSION= 1.88
+PORTVERSION= 2.00
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,12 +14,18 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jharris@widomaker.com
COMMENT= Unit conversion and calculation
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INFO= units
MAN1= gunits.1
-PLIST_FILES= bin/gunits share/units.dat
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|$$(INSTALL_PROGRAM) units_cur|${INSTALL_SCRIPT} units_cur|' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/math/units/distinfo b/math/units/distinfo
index 03ee1a33969b..a6c6d8bba404 100644
--- a/math/units/distinfo
+++ b/math/units/distinfo
@@ -1,2 +1,2 @@
-SHA256 (units-1.88.tar.gz) = a805707f8f2802c109aef3f32b431ecd9af1fc3de0c5289223e862c673afec0c
-SIZE (units-1.88.tar.gz) = 261519
+SHA256 (units-2.00.tar.gz) = 573c831e428bf47419c5c540dcd4c6669f14154181d0e8812d635ee5bcff7f60
+SIZE (units-2.00.tar.gz) = 653473
diff --git a/math/units/pkg-descr b/math/units/pkg-descr
index ec5cabcf5d34..18351c7bfbca 100644
--- a/math/units/pkg-descr
+++ b/math/units/pkg-descr
@@ -8,7 +8,7 @@ temperature differences between those temperature scales.
The units are defined externally in an extensive, well annotated data file
that defines over 2000 units. You can also provide your own data file.
-WWW: http://www.gnu.org/directory/units.html
+WWW: http://www.gnu.org/software/units/
Note that this port will install the utility with a 'g' prefix,
e.g. gunits, but the texinfo documentation will refer to it without
diff --git a/math/units/pkg-plist b/math/units/pkg-plist
new file mode 100644
index 000000000000..59c8973ba636
--- /dev/null
+++ b/math/units/pkg-plist
@@ -0,0 +1,6 @@
+bin/gunits
+bin/gunits_cur
+share/units/currency.units
+share/units/definitions.units
+share/units/locale.map
+@dirrm share/units