blob: f1c961fec4625b59c4b1d0919ed463a94eb86161 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Greg Lewis <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= udunits
PORTVERSION= 2.2.19
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
OPTIONS_DEFINE= DOCS
CONFIGURE_ENV= ac_cv_header_CUnit_CUnit_h=no
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USES= libtool
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>
|