summaryrefslogtreecommitdiff
path: root/math/units/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/units/Makefile')
-rw-r--r--math/units/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/math/units/Makefile b/math/units/Makefile
index eb714c18a2e..d9dfb7b4a9e 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -1,29 +1,28 @@
-# $NetBSD: Makefile,v 1.5 2012/09/11 23:04:35 asau Exp $
+# $NetBSD: Makefile,v 1.6 2012/09/13 23:27:05 asau Exp $
-DISTNAME= units-1.86
-PKGREVISION= 2
+DISTNAME= units-2.00
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=units/}
MAINTAINER= cameron@patrick.wattle.id.au
HOMEPAGE= http://www.gnu.org/software/units/
COMMENT= GNU Units - a calculator capable of performing unit conversions
-
-LICENSE= gnu-gpl-v2
-
-INFO_FILES= YES
-
-GNU_CONFIGURE= YES
+LICENSE= gnu-gpl-v3
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ARGS= --program-prefix=g
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --program-prefix=g
+INFO_FILES= yes
INSTALLATION_DIRS= gnu/bin
+REPLACE_PYTHON= units_cur
+
post-install:
set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \
ln -s ../../bin/gunits units
.include "../../devel/readline/buildlink3.mk"
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"