blob: c2d78dc8cfabe37b230434f906baff022aaf5a16 (
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
|
# New ports collection makefile for: udunits
# Date created: 31 December 2004
# Whom: 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= A library for manipulating units of physical quantities
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
CONFIGURE_ENV= ac_cv_header_CUnit_CUnit_h=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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>
|