Makefile 624 B

123456789101112131415161718192021222324252627
  1. # $OpenBSD: Makefile,v 1.15 2017/06/02 07:26:47 benoit Exp $
  2. COMMENT = library to manipulate units of physical quantities
  3. DISTNAME = udunits-2.2.25
  4. CATEGORIES = math
  5. SHARED_LIBS = udunits2 2.2
  6. HOMEPAGE = http://www.unidata.ucar.edu/software/udunits/
  7. # original BSD-like, with advertisement clause
  8. PERMIT_PACKAGE_CDROM = Yes
  9. MASTER_SITES = ftp://ftp.unidata.ucar.edu/pub/udunits/
  10. WANTLIB += c expat m
  11. CONFIGURE_STYLE = gnu
  12. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  13. LDFLAGS="-L${LOCALBASE}/lib"
  14. TEST_DEPENDS = devel/cunit
  15. TEST_TARGET = check
  16. .include <bsd.port.mk>