Bug 169917 - [patch] math/units update to 2.00
Summary: [patch] math/units update to 2.00
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-16 21:40 UTC by Klaus Aehlig
Modified: 2012-08-03 18:30 UTC (History)
0 users

See Also:


Attachments
units.diff (2.02 KB, patch)
2012-07-16 21:40 UTC, Klaus Aehlig
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Aehlig 2012-07-16 21:40:14 UTC
	Update to 2.00

	while there
	- fix WWW entry in pkg-descr
	- add license information

Fix: apply the following patch

	note:
	the file pkg-plist is newly added.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-16 21:40:22 UTC
Maintainer of math/units,

Please note that PR ports/169917 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169917

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-16 21:40:24 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-08-03 10:43:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-08-03 18:20:44 UTC
Author: scheidell
Date: Fri Aug  3 17:20:30 2012
New Revision: 301965
URL: http://svn.freebsd.org/changeset/ports/301965

Log:
  - Update to 2.00
  
  PR:		ports/169917
  Submitted by:	Klaus Aehlig <aehlig@linta.de>
  Approved by:	maintainer (timeout, 17 days)

Added:
  head/math/units/pkg-plist   (contents, props changed)
Modified:
  head/math/units/Makefile   (contents, props changed)
  head/math/units/distinfo   (contents, props changed)
  head/math/units/pkg-descr   (contents, props changed)

Modified: head/math/units/Makefile
==============================================================================
--- head/math/units/Makefile	Fri Aug  3 17:17:28 2012	(r301964)
+++ head/math/units/Makefile	Fri Aug  3 17:20:30 2012	(r301965)
@@ -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>

Modified: head/math/units/distinfo
==============================================================================
--- head/math/units/distinfo	Fri Aug  3 17:17:28 2012	(r301964)
+++ head/math/units/distinfo	Fri Aug  3 17:20:30 2012	(r301965)
@@ -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

Modified: head/math/units/pkg-descr
==============================================================================
--- head/math/units/pkg-descr	Fri Aug  3 17:17:28 2012	(r301964)
+++ head/math/units/pkg-descr	Fri Aug  3 17:20:30 2012	(r301965)
@@ -8,7 +8,7 @@ temperature differences between those te
 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

Added: head/math/units/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/units/pkg-plist	Fri Aug  3 17:20:30 2012	(r301965)
@@ -0,0 +1,6 @@
+bin/gunits
+bin/gunits_cur
+share/units/currency.units
+share/units/definitions.units
+share/units/locale.map
+@dirrm share/units
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-08-03 18:20:45 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!