summaryrefslogtreecommitdiff
path: root/math/plplot/Makefile
blob: 654b51ca0c8bd888516123c6368988c824bd7afc (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
# New ports collection makefile for:    plplot
# Version required:     4p99j
# Date created:         03 Oct 1997
# Whom:                 Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id$
#

DISTNAME=       plplot4p99j
PKGNAME=	plplot-4.99j
CATEGORIES=	math
MASTER_SITES=	ftp://dino.ph.utexas.edu/plplot/distrib/alpha/

MAINTAINER=	tg@FreeBSD.ORG

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+= --with-gcc=yes --with-double=yes

post-patch:
	@perl -pi.bak -e "s|/usr/local/plplot/lib|${PREFIX}/lib/plplot|g;" \
		${WRKSRC}/src/plctrl.c

.include <bsd.port.mk>