aboutsummaryrefslogtreecommitdiffstats
path: root/science/udunits/Makefile
blob: 7e26380d35a030946af11814d49fd7eb7c89b6b8 (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
# New ports collection makefile for:    udunits
# Date created:     31 December 2004
# Whom:         Greg Lewis <glewis@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   udunits
PORTVERSION=    1.12.4
CATEGORIES= science math
MASTER_SITES=   ftp://unidata.ucar.edu/pub/${PORTNAME}/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= glewis@FreeBSD.org
COMMENT=    A library for manipulating units of physical quantities

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
GNU_CONFIGURE=  yes
USE_PERL5=  yes
USE_REINPLACE=  yes

CFLAGS+=    -fPIC

MAN1=       udunits.1 \
        udunitsperl.1
MAN3=       udunits.3 \
        udunits.3f

post-build:
    ${REINPLACE_CMD} -e 's: doc_[^_]*_install::' \
        -e 's: doc_install::' \
        "${WRKSRC}/perl/Makefile"

.include <bsd.port.mk>