aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-08-03 17:20:30 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-08-03 17:20:30 +0000
commitbbf411e08f9487f09020efb8a5fba26128b9648c (patch)
treedc2b2d77acc23343e208533b841a0b0902f70509 /math
parent2ad39cddf81d72c0c6ce93b1732b358693764ded (diff)
downloadports-bbf411e08f9487f09020efb8a5fba26128b9648c.tar.gz
ports-bbf411e08f9487f09020efb8a5fba26128b9648c.zip
- Update to 2.00
PR: ports/169917 Submitted by: Klaus Aehlig <aehlig@linta.de> Approved by: maintainer (timeout, 17 days)
Notes
Notes: svn path=/head/; revision=301965
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