freebsd-ports/science/udunits/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

32 lines
758 B
Makefile

# New ports collection makefile for: udunits
# Date created: 31 December 2004
# Whom: Greg Lewis <glewis@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= udunits
PORTVERSION= 2.1.24
CATEGORIES= science math
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A library for manipulating units of physical quantities
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
CONFIGURE_ENV= ac_cv_header_CUnit_CUnit_h=no
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USE_PERL5= yes
INFO= udunits2 udunits2lib udunits2prog
post-patch:
@${REINPLACE_CMD} -e '/install-data-hook$$/d' ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>