openbsd-ports/math/udunits/Makefile
jasper 7b7cb581ed - update udunits to 2.1.19
from remi pointel, maintainer
2010-08-26 08:58:43 +00:00

35 lines
971 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/08/26 08:58:43 jasper Exp $
COMMENT = library to manipulate units of physical quantities
DISTNAME = udunits-2.1.19
CATEGORIES = math
HOMEPAGE = http://www.unidata.ucar.edu/software/udunits/
MAINTAINER = Remi Pointel <remi.pointel@xiri.fr>
# original BSD-like, with advertisement clause
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ftp://ftp.unidata.ucar.edu/pub/udunits/
LIB_DEPENDS = ::devel/cunit
SHARED_LIBS = udunits2 0.0
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
CFLAGS="-std=c99 ${CFLAGS:C/ *$//} -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
# if need be...
AUTOCONF_VERSION = 2.63
AUTOMAKE_VERSION = 1.11
WANTLIB += c expat m cunit
.include <bsd.port.mk>