diff options
author | garga <garga@FreeBSD.org> | 2006-02-15 16:58:32 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-02-15 16:58:32 +0000 |
commit | 0dc99bac12f5b1fcf10ce8eb1e6565f767704e24 (patch) | |
tree | f75b19014bfd7796c1722044b6ec15e6b5c335fd /math/muparser/Makefile | |
parent | 40d41c81d0ef6df81ec446ad312a161a35c86fd6 (diff) | |
download | FreeBSD-ports-0dc99bac12f5b1fcf10ce8eb1e6565f767704e24.zip FreeBSD-ports-0dc99bac12f5b1fcf10ce8eb1e6565f767704e24.tar.gz |
muParser is an extensible high performance math parser library written in C++.
It is based on transforming an expression into a bytecode and precalculating
constant parts of it.
Author: Ingo Berg <ingo_berg@gmx.de>
WWW: http://muparser.sourceforge.net/
PR: ports/93379
Submitted by: Nicola Vitale <nivit@email.it>
Diffstat (limited to 'math/muparser/Makefile')
-rw-r--r-- | math/muparser/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/math/muparser/Makefile b/math/muparser/Makefile new file mode 100644 index 0000000..35649ca1 --- /dev/null +++ b/math/muparser/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: muparser +# Date created: 2006-02-14 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= muparser +PORTVERSION= 1.25 +CATEGORIES= math devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME} +DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} + +MAINTAINER= nivit@email.it +COMMENT= Mathematical expressions parser library written in C++ + +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_GMAKE= yes + +WRKSRC= ${WRKDIR}/muParser + +# taken from audio/taglib +post-patch: + @${REINPLACE_CMD} -e "s#\$$(libdir)/pkgconfig#${LOCALBASE}/libdata/pkgconfig#g" \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.pre.mk> + +.if ( ${OSVERSION} < 501103 ) +USE_GCC= 3.3+ +.endif + +.include <bsd.port.post.mk> |