ef6c45af51
Based on PR 30397 by Cameron Patrick, I modify to adapt to recent pkgsrc tree and update from 1.85 to 1.86. GNU Units can convert quantities expressed in one unit to an equivalent in a difference scale. Compared to traditional BSD implementations, it offers more units, non-linear conversions (e.g. between degrees Celsius and Fahrenheit), a more lenient input parser, and tab completion. It can also be used to perform calculations taking physical units into account, and provide the definitions of units (e.g. "joule = N m = 1 kg m^2 / s^2").
23 lines
599 B
Makefile
23 lines
599 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2006/11/19 04:56:17 obache Exp $
|
|
|
|
DISTNAME= units-1.86
|
|
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
|
|
|
|
INFO_FILES= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS= --program-prefix=${GNU_PROGRAM_PREFIX}
|
|
|
|
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
|
|
BUILD_DEFS+= GNU_PROGRAM_PREFIX
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|