freebsd-ports/science/udunits/Makefile
Sunpoet Po-Chuan Hsieh 6c540acd76 - Strip shared library
2013-10-10 14:32:08 +00:00

28 lines
700 B
Makefile

# Created by: Greg Lewis <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= udunits
PORTVERSION= 2.1.24
PORTREVISION= 1
CATEGORIES= science math
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for manipulating units of physical quantities
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
CONFIGURE_ENV= ac_cv_header_CUnit_CUnit_h=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
INFO= udunits2 udunits2lib udunits2prog
post-patch:
@${REINPLACE_CMD} -e '/install-data-hook$$/d' ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>