aboutsummaryrefslogblamecommitdiff
path: root/math/mbasecalc/Makefile
blob: bde1349e316e6cf241965368b49fdf0b1a2588a9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  


                         
                 



                                                                
                                 

                                                              
                     
 
                                            





                                                                          



                             
                                                                               

                      
# Created by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>

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: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>