2020-02-20 13:51:54 +00:00

27 lines
618 B
Makefile

# $OpenBSD: Makefile,v 1.17 2020/02/20 13:51:54 benoit Exp $
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>