freebsd-ports/math/spar/Makefile

29 lines
655 B
Makefile
Raw Normal View History

# Created by: ijliao
2001-06-01 05:47:52 +02:00
# $FreeBSD$
PORTNAME= spar
2001-06-30 21:00:36 +02:00
PORTVERSION= 0.5.10
PORTREVISION= 4
2001-06-01 05:47:52 +02:00
CATEGORIES= math devel
MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
2001-06-01 05:47:52 +02:00
2001-06-30 21:00:36 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular math parser
2001-06-01 05:47:52 +02:00
USES= dos2unix libtool ncurses readline
DOS2UNIX_FILES= lib/randist/rand.c
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_LDCONFIG= yes
2001-06-01 05:47:52 +02:00
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
2001-06-01 05:47:52 +02:00
2015-06-04 11:42:51 +02:00
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/spar/*.so
2001-06-01 05:47:52 +02:00
.include <bsd.port.mk>