2013-09-20 20:55:04 +00:00
|
|
|
# Created by: Chuck Hein <geekdude@pacbell.net>
|
2003-10-06 02:43:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mpexpr
|
2007-03-16 12:00:35 +00:00
|
|
|
PORTVERSION= 1.1
|
2008-04-09 13:42:26 +00:00
|
|
|
CATEGORIES= math tcl
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES= SF
|
2003-10-06 02:43:46 +00:00
|
|
|
|
2013-11-06 14:50:24 +00:00
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
2003-10-06 02:43:46 +00:00
|
|
|
COMMENT= Multiple precision math for Tcl
|
|
|
|
|
2013-11-06 14:50:24 +00:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2007-03-16 12:00:35 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
|
|
|
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
|
2013-11-06 14:50:24 +00:00
|
|
|
USES+= gmake tcl
|
2003-10-06 02:43:46 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-06 14:50:24 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-tcl=${TCL_LIBDIR}
|
|
|
|
CONFIGURE_ENV+= TCL_INC_DIR=${TCL_INCLUDEDIR} \
|
|
|
|
TCL_LIB_DIR=${TCL_LIBDIR}
|
2003-10-06 02:43:46 +00:00
|
|
|
|
2007-03-16 12:00:35 +00:00
|
|
|
PLIST_DIRS= lib/Mpexpr10
|
2013-11-06 14:50:24 +00:00
|
|
|
PLIST_FILES= lib/Mpexpr10/libMpexpr10.so \
|
|
|
|
lib/Mpexpr10/pkgIndex.tcl \
|
|
|
|
man/mann/mpexpr.n.gz
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|\.\.||' ${WRKSRC}/pkgIndex.tcl.in
|
|
|
|
${REINPLACE_CMD} -e '/set VERBOSE/s|0|1|' ${WRKSRC}/../tests/defs
|
2003-10-06 02:43:46 +00:00
|
|
|
|
2007-03-16 12:00:35 +00:00
|
|
|
do-install:
|
2013-11-06 14:50:24 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/Mpexpr10
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libMpexpr10.so ${STAGEDIR}${PREFIX}/lib/Mpexpr10
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/Mpexpr10
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/mpexpr.man ${STAGEDIR}${PREFIX}/man/mann/mpexpr.n
|
|
|
|
|
|
|
|
regression-test: build
|
2014-06-25 05:35:31 +00:00
|
|
|
cd ${WRKSRC} && ${MAKE_CMD} test
|
2007-03-16 12:00:35 +00:00
|
|
|
|
2003-10-06 02:43:46 +00:00
|
|
|
.include <bsd.port.mk>
|