aboutsummaryrefslogtreecommitdiffstats
path: root/math/mbasecalc/Makefile
blob: f516aa0dcdbc585e0a35f355f7ce0f396bc9a025 (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
# Created by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
# $FreeBSD$

PORTNAME=   mbasecalc
PORTVERSION=    1.1
PORTREVISION=   8
CATEGORIES= math
MASTER_SITES=   http://www.muquit.com/muquit/software/mbasecalc/
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple calculator program inspired by basecalc

LICENSE=    GPLv2

LIB_DEPENDS=    libfltk.so:${PORTSDIR}/x11-toolkits/fltk

MAKE_ARGS=  CC="${CC}" CXX="${CXX}" CFLAGS="${CPPFLAGS} ${CXXFLAGS}" \
        LIBS="${LDFLAGS}"

CPPFLAGS+=  $$(fltk-config --cflags) -DSYS_UNIX
LDFLAGS+=   $$(fltk-config --ldflags)

PLIST_FILES=    bin/mbasecalc

do-install:
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} mbasecalc ${STAGEDIR}${PREFIX}/bin)

.include <bsd.port.mk>