aboutsummaryrefslogtreecommitdiff
path: root/math/qscanplot/Makefile
blob: 918998b77a9b81e115e2d7306f49b7c9ac7787ab (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
# New ports collection makefile for:	qscanplot
# Date created:				9 January 2002
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	qscanplot
PORTVERSION=	0.4
PORTREVISION=	7
CATEGORIES=	math
# per distfile survey, mastersite disappeared in March 2003
MASTER_SITES=	# http://www.gae.ucm.es/~gonzalez/qscanplot/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A program to extract data from scanned plots, graphs and figures

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake

USE_XORG=	x11 xext xinerama
USE_QT_VER=	3
USE_PERL5_BUILD=yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="-lm ${PTHREAD_LIBS}" \
		LIBQT=-lqt-mt
MAKE_ENV=	QTDIR=${QT_PREFIX}

post-patch:
	@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/qscanplot/templates/sample.qscanplotrc

.include <bsd.port.mk>