mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
d8ff273b64
PR: ports/56469 Submitted by: Mark Linimon
33 lines
645 B
Makefile
33 lines
645 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: MathPlanner
|
|
# Date created: Feb 8, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MathPlanner
|
|
PORTVERSION= 3.1.2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://koti.mbnet.fi/jarmonik/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A mathematical design and publishing application
|
|
|
|
USE_REINPLACE= yes
|
|
USE_QT_VER= 3
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= QTDIR="${X11BASE}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not compile with gcc 2.95.x"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
|
|
-e "s|malloc\.h|stdlib.h|"
|
|
|
|
.include <bsd.port.post.mk>
|