1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/math/calc/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

30 lines
681 B
Makefile

# Created by: jmz
# $FreeBSD$
PORTNAME= calc
PORTVERSION= 2.12.4.13
CATEGORIES= math
MASTER_SITES= SF
MAINTAINER= johans@FreeBSD.org
COMMENT= Arbitrary precision calculator
USES= gmake tar:bzip2
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CALCPAGER?= more
MAKE_ENV+= CALCPAGER="${CALCPAGER}" CAT="${CAT}" CHMOD="${CHMOD}" \
CP="${CP}" GMAKE="${MAKE_CMD}" LN="${LN}" MKDIR="${MKDIR}" \
MV="${MV}" RM="${RM}" SED="${SED}" TOUCH="${TOUCH}" \
TRUE="${TRUE}"
PLIST_SUB+= VERSION=${PORTVERSION} VER1=${PORTVERSION:R} \
VER2=${PORTVERSION:R:R} VER3=${PORTVERSION:R:R:R}
regression-test: build
( cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check )
.include <bsd.port.mk>