aboutsummaryrefslogtreecommitdiff
path: root/math/fung-calc/Makefile
blob: 6a42edeb57fe4538a47d9e83ed593f92e5bedab1 (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
# New ports collection makefile for:	fung-calc
# Date created:				10.06.2003
# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$

PORTNAME=	fung-calc
PORTVERSION=	1.3.2b
PORTREVISION=	13
CATEGORIES=	math kde
MASTER_SITES=	SF/${PORTNAME}/releases/${PORTVERSION}

MAINTAINER=	markus@FreeBSD.org
COMMENT=	Advanced graphic calculator

USE_KDELIBS_VER=3
USE_GL=		glut
USE_GMAKE=	yes
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool:22
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

pre-configure:
	@${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure

.include <bsd.port.mk>