aboutsummaryrefslogtreecommitdiffstats
path: root/math/wcalc/Makefile
blob: 2cbc125b1ab988b60564b8ad436e5cc0b88006ad (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
# 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
MASTER_SITE_SUBDIR= w-calc
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>