mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
40c9c7f7eb
- Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine
40 lines
865 B
Makefile
40 lines
865 B
Makefile
# Created by: jmz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= calc
|
|
PORTVERSION= 2.12.6.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Arbitrary precision calculator
|
|
|
|
LICENSE= LGPL21
|
|
|
|
USES= gmake tar:bzip2 readline
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= lcn2
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CALCPAGER?= more
|
|
MAKEFILE= Makefile.ship
|
|
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}"
|
|
TEST_TARGET= check
|
|
.if !exists(/usr/lib/libreadline.so)
|
|
MAKE_ARGS= READLINE_INCLUDE="-I${LOCALBASE}/include" \
|
|
READLINE_LIB="-L${LOCALBASE}/lib -lreadline"
|
|
.endif
|
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/calc \
|
|
${STAGEDIR}${PREFIX}/lib/lib*.so
|
|
|
|
.include <bsd.port.mk>
|