forked from Lainports/freebsd-ports
Rename this ports to use the real vendor package name. The advantage of this is to allow our users' keyword search works and easier for users to file the Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and other OSs have the correct package name, but not in our ports tree. My team, FreeBSD GNOME Team, have agreed with it. As for other ports, chase the rename. PR: ports/97985 Repocopy by: marcus
40 lines
895 B
Makefile
40 lines
895 B
Makefile
# 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/pkg-config
|
|
|
|
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>
|