# $NetBSD$

###########################################################
#               Generated by fbsd2pkg                     #
###########################################################

###########################################################
# Unconverted and partially converted FreeBSD port syntax:

## Created by: Greg Lewis <glewis@FreeBSD.org>
## $FreeBSD: head/science/udunits/Makefile 383158 2015-04-03 17:28:32Z sunpoet $
#		LOCAL/sunpoet
#OPTIONS_DEFINE=	DOCS
#CPPFLAGS+=	-I${LOCALBASE}/include
#INSTALL_TARGET=	install-strip
#LDFLAGS+=	-L${LOCALBASE}/lib
#USE_LDCONFIG=	yes
#INFO=		udunits2 udunits2lib udunits2prog
#PORTDATA=	*
#PORTDOCS=	*
#post-patch:
#	@${REINPLACE_CMD} -e '/install-data-hook$$/d' ${WRKSRC}/lib/Makefile.in
#regression-test test: build
#	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
#.include <bsd.port.mk>

DISTNAME=	udunits-${PORTVERSION}
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/udunits/

MAINTAINER=	dsiercks@uwm.edu

COMMENT=	Library for manipulating units of physical quantities

#LICENSE=	UCAR-License

# Pessimistic assumption.  Test and change if possible.
MAKE_JOBS_SAFE=	no

# Just assuming C and C++: Adjust this!
USE_LANGUAGES=	fortran c c++
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes
USE_TOOLS+=	gmake
CONFIGURE_ARGS+=	--disable-shared

CONFIGURE_ENV+=	ac_cv_header_CUnit_CUnit_h=no

PORTVERSION=	2.2.20

# Sets OPSYS, OS_VERSION, MACHINE_ARCH, etc..
#.include "../../mk/bsd.prefs.mk"

# Keep this if there are user-selectable options.
#.include "options.mk"

# You may need this, especially if using do-install.

# Note: Depends on PLIST.
#AUTO_MKDIRS=	yes

# Add any _DEPENDS that have a buildlink3.mk
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
