mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
31 lines
691 B
Makefile
31 lines
691 B
Makefile
# Created by: ijliao
|
|
|
|
PORTNAME= spar
|
|
PORTVERSION= 0.5.10
|
|
PORTREVISION= 6
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Modular math parser
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= dos2unix libtool ncurses readline
|
|
DOS2UNIX_FILES= lib/randist/rand.c
|
|
USE_CSTD= gnu89
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= 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>
|