aboutsummaryrefslogtreecommitdiffstats
path: root/math/mpexpr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/mpexpr/Makefile')
-rw-r--r--math/mpexpr/Makefile30
1 files changed, 19 insertions, 11 deletions
diff --git a/math/mpexpr/Makefile b/math/mpexpr/Makefile
index fa85ff5fd20c..3ff8cf23fd51 100644
--- a/math/mpexpr/Makefile
+++ b/math/mpexpr/Makefile
@@ -6,24 +6,32 @@
#
PORTNAME= mpexpr
-PORTVERSION= 1.0
-CATEGORIES= math tcl83
+PORTVERSION= 1.1
+CATEGORIES= math tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mpexpr
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Multiple precision math for Tcl
-WRKSRC= ${WRKDIR}/mpexpr-1.0/unix
-
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --exec-prefix=${PREFIX}
-
-USE_TCL= 83
-USE_TCL_BUILD= 83
+WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
+USE_TCL= yes
+USE_TCL_BUILD= yes
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+USE_LDCONFIG= yes
+PLIST_DIRS= lib/Mpexpr10
+PLIST_FILES= lib/libMpexpr10.so \
+ lib/Mpexpr10/pkgIndex.tcl
MANN= mpexpr.n
+do-install:
+ ${MKDIR} ${PREFIX}/lib/Mpexpr10
+ ${INSTALL_PROGRAM} ${WRKSRC}/libMpexpr10.so ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/Mpexpr10/
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/mpexpr.man ${PREFIX}/man/mann/mpexpr.n
+
.include <bsd.port.mk>