1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/math/mbasecalc/Makefile
Pawel Pekala 753fe9623b - Respect CXX/CXXFLAGS
- Add LICENSE
- Support staging

PR:		ports/184860
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-25 14:25:22 +00:00

30 lines
690 B
Makefile

# Created by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
# $FreeBSD$
PORTNAME= mbasecalc
PORTVERSION= 1.1
PORTREVISION= 7
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>