aboutsummaryrefslogtreecommitdiffstats
path: root/editors/MathPlanner/Makefile
blob: 545d760e2e6e2a6c74d628a8ce1fa630f0fd021c (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
# 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}"

post-patch:
    @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
        -e "s|malloc\.h|stdlib.h|"

.include <bsd.port.mk>