aboutsummaryrefslogtreecommitdiffstats
path: root/math/wcalc/Makefile
blob: d374f3ca71444c9e55170fa25da409aa1191846c (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: wcalc
# Date created: 25-Apr-2007
# Whom:     Amarendra Godbole <amarendra.godbole@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   wcalc
PORTVERSION=    2.4
PORTREVISION=   2
CATEGORIES= math
MASTER_SITES=   SF/w-calc/Wcalc/${PORTVERSION}
DISTNAME=   wcalc-${PORTVERSION}

MAINTAINER= amarendra.godbole@gmail.com
COMMENT=    A natural-expression command-line calculator

LIB_DEPENDS=    gmp.8:${PORTSDIR}/math/libgmp4 \
        mpfr.3:${PORTSDIR}/math/mpfr

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GNU_CONFIGURE=      yes
CONFIGURE_ARGS+=    CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       wcalc.1

PLIST_FILES=    bin/wcalc

.include <bsd.port.mk>