forked from Lainports/freebsd-ports
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
32 lines
773 B
Makefile
32 lines
773 B
Makefile
PORTNAME= eval
|
|
PORTVERSION= 113
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://wuarchive.wustl.edu/pub/aminet/util/cli/ \
|
|
http://www.netsw.org/math/calc/ \
|
|
http://main.aminet.net/util/cli/
|
|
DISTNAME= Eval${PORTVERSION}
|
|
EXTRACT_SUFX= .lha
|
|
|
|
MAINTAINER= slaven@rezic.de
|
|
COMMENT= Full featured floating point expression evaluator
|
|
|
|
USES= lha readline
|
|
|
|
WRKSRC= ${WRKDIR}/Eval/source
|
|
|
|
PLIST_FILES= bin/Eval
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
post-extract:
|
|
-${LN} -s Makefile.unx ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Eval ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|