1997-10-06 04:18:49 -04:00
|
|
|
# New ports collection makefile for: plplot
|
|
|
|
# Date created: 03 Oct 1997
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-10-06 04:18:49 -04:00
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1997-10-06 04:18:49 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 03:20:58 -04:00
|
|
|
PORTNAME= plplot
|
|
|
|
PORTVERSION= 4.99j
|
1997-10-06 04:18:49 -04:00
|
|
|
CATEGORIES= math
|
2000-02-02 16:23:24 -05:00
|
|
|
MASTER_SITES= ftp://ftp.uniovi.es/pub6/graphics/plotting/ \
|
|
|
|
ftp://dino.ph.utexas.edu/plplot/distrib/alpha/ \
|
1999-11-08 08:01:34 -05:00
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
|
2000-02-02 16:23:24 -05:00
|
|
|
ftp://ftp.che.utexas.edu/pub/graphics/
|
2000-04-14 03:20:58 -04:00
|
|
|
DISTNAME= plplot4p99j
|
1997-10-06 04:18:49 -04:00
|
|
|
|
1999-11-08 08:01:34 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-10-06 04:18:49 -04:00
|
|
|
|
1998-11-28 00:39:01 -05:00
|
|
|
USE_XLIB= yes
|
1997-10-06 04:18:49 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1997-12-23 20:21:47 -05:00
|
|
|
CONFIGURE_ARGS= --with-gcc=yes --with-double=yes
|
1997-10-06 04:18:49 -04:00
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-10-06 04:18:49 -04:00
|
|
|
post-patch:
|
2000-01-14 12:35:24 -05:00
|
|
|
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/*.c
|
1997-10-06 04:18:49 -04:00
|
|
|
|
1998-09-27 16:13:16 -04:00
|
|
|
post-install:
|
1998-11-14 04:43:39 -05:00
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
${LN} -sf libplplotdX.so.4 ${PREFIX}/lib/libplplotdX.so
|
|
|
|
.else
|
|
|
|
${LN} -sf libplplotdX.so.4.99 ${PREFIX}/lib/libplplotdX.so
|
|
|
|
.endif
|
2000-01-14 12:35:24 -05:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-09-27 16:13:16 -04:00
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|