openbsd-ports/math/udunits/Makefile
2022-03-11 19:36:11 +00:00

25 lines
556 B
Makefile

COMMENT = library to manipulate units of physical quantities
DISTNAME = udunits-2.2.26
CATEGORIES = math
SHARED_LIBS = udunits2 2.2
HOMEPAGE = http://www.unidata.ucar.edu/software/udunits/
# original BSD-like, with advertisement clause
PERMIT_PACKAGE = Yes
MASTER_SITES = ftp://ftp.unidata.ucar.edu/pub/udunits/
WANTLIB += c expat m
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
TEST_DEPENDS = devel/cunit
TEST_TARGET = check
.include <bsd.port.mk>