1996-12-22 04:36:43 +00:00
|
|
|
# New ports collection makefile for: pgplot
|
|
|
|
# Date created: 21 December 1996
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1996-12-22 04:36:43 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= pgplot
|
|
|
|
PORTVERSION= 5.2
|
1996-12-22 04:36:43 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
|
2000-04-14 10:48:02 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1996-12-22 04:36:43 +00:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1998-12-22 08:22:54 +00:00
|
|
|
USE_XLIB= yes
|
2000-06-15 17:59:45 +00:00
|
|
|
INSTALL_SHLIBS= yes
|
1996-12-22 04:36:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/pgplot
|
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
VERSION= 5
|
|
|
|
.else
|
|
|
|
VERSION= 5.2
|
|
|
|
.endif
|
|
|
|
|
1999-05-02 21:29:35 +00:00
|
|
|
.if ${OSVERSION} < 400004
|
|
|
|
FC= ./xf77
|
|
|
|
.else
|
|
|
|
FC= f77
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_ENV+= FC=${FC}
|
|
|
|
|
1996-12-22 04:36:43 +00:00
|
|
|
post-install:
|
1998-10-05 03:06:04 +00:00
|
|
|
.for f in libcpgplot.so libpgplot.so
|
|
|
|
${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
|
|
|
|
.endfor
|
1996-12-22 04:36:43 +00:00
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|