mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
cb037d3c98
- Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine
29 lines
655 B
Makefile
29 lines
655 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= spar
|
|
PORTVERSION= 0.5.10
|
|
PORTREVISION= 4
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Modular math parser
|
|
|
|
USES= dos2unix libtool ncurses readline
|
|
DOS2UNIX_FILES= lib/randist/rand.c
|
|
GNU_CONFIGURE= yes
|
|
USE_CSTD= gnu89
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,-ldl,,g" \
|
|
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/spar/*.so
|
|
|
|
.include <bsd.port.mk>
|