1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/math/mbasecalc/Makefile
Muhammad Moinur Rahman 9aa3b0cef1 math/mbasecalc: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-08-02 23:18:13 +02:00

30 lines
703 B
Makefile

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
WWW= https://www.muquit.com/muquit/software/mbasecalc/mbasecalc.html
LICENSE= GPLv2
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
USE_CXXSTD= c++14
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>