freebsd-ports/math/muparser/Makefile
Nicola Vitale 4563f8532c - Updated to 1.27
- Added --enable-sample=no to CONFIGURE_ARGS

PR:		ports/108573
Submitted by:	Max Brazhnikov <makc at issp.ac.ru>
Approved by:	alexbl (mentor, implicit), nivit (maintainer)
2007-01-31 14:41:02 +00:00

40 lines
894 B
Makefile

# New ports collection makefile for: muparser
# Date created: 2006-02-14
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= muparser
PORTVERSION= 1.27
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_v127
MAINTAINER= nivit@FreeBSD.org
COMMENT= Mathematical expressions parser library written in C++
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-samples=no
USE_LDCONFIG= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/muparser
# 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
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 501103 )
USE_GCC= 3.3+
.endif
.include <bsd.port.post.mk>