freebsd-ports/science/udunits/Makefile
Sunpoet Po-Chuan Hsieh 1aaf0d9821 - Update to 2.1.23
Changes:
- Corrected "make install". Will now create the installation-directory
  $(DESTDIR)$(htmldir) for holding the symbolic links for HTML access to the
  unit database if that directory doesn't exist.
- Modified "formatter.c" to more rigorously handle the return value of
  snprintf().
- Modified documentation on ut_format() to indicate that the number of bytes
  returned depends on the snprintf() function that's used.
2011-05-25 14:38:41 +00:00

32 lines
773 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.23
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= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
ac_cv_header_CUnit_CUnit_h=no
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>