aboutsummaryrefslogtreecommitdiffstats
path: root/editors/MathPlanner/Makefile
blob: 86c7f6fd7da7c3039070fc36b6342830c9b7728f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# Ports collection makefile for:    MathPlanner
# Date created:         Feb 8, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   MathPlanner
PORTVERSION=    3.1.3
CATEGORIES= editors
MASTER_SITES=   http://koti.mbnet.fi/jarmonik/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A mathematical design and publishing application

USE_QT_VER= 3
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  QTDIR="${QT_PREFIX}"

.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>