aboutsummaryrefslogtreecommitdiff
path: root/math/muparser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/muparser/Makefile')
-rw-r--r--math/muparser/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/math/muparser/Makefile b/math/muparser/Makefile
index 57327f3d7e8b..ce31a77859c6 100644
--- a/math/muparser/Makefile
+++ b/math/muparser/Makefile
@@ -6,17 +6,15 @@
#
PORTNAME= muparser
-PORTVERSION= 1.30
-PORTREVISION= 1
+PORTVERSION= 1.32
CATEGORIES= math devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
-DISTNAME= ${PORTNAME}_v130
+DISTNAME= ${PORTNAME}_v${PORTVERSION:S/.//}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Mathematical expressions parser library written in C++
-RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
-
+USE_GNOME= gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared=no
.if defined(NOPORTEXAMPLES)
@@ -27,8 +25,6 @@ CONFIGURE_ARGS+= --docdir=${DOCSDIR}
.endif
USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/muparser
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
@@ -37,8 +33,6 @@ CFLAGS+= -fPIC
# taken from audio/taglib
post-patch:
- @${REINPLACE_CMD} -e "s#\$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#g" \
- ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \
${WRKSRC}/Makefile.in