1996-12-21 23:36:43 -05:00
|
|
|
# New ports collection makefile for: pgplot
|
1997-08-15 09:36:17 -04:00
|
|
|
# Version required: 5.2
|
1996-12-21 23:36:43 -05:00
|
|
|
# Date created: 21 December 1996
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-05-02 17:29:35 -04:00
|
|
|
# $Id: Makefile,v 1.9 1998/12/22 08:22:54 asami Exp $
|
1996-12-21 23:36:43 -05:00
|
|
|
#
|
|
|
|
|
1997-08-15 09:36:17 -04:00
|
|
|
DISTNAME= pgplot5.2
|
|
|
|
PKGNAME= pgplot-5.2
|
1996-12-21 23:36:43 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
|
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1998-12-22 03:22:54 -05:00
|
|
|
USE_XLIB= yes
|
1996-12-21 23:36:43 -05:00
|
|
|
WRKSRC= ${WRKDIR}/pgplot
|
|
|
|
|
1998-11-11 00:37:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
VERSION= 5
|
|
|
|
.else
|
|
|
|
VERSION= 5.2
|
|
|
|
.endif
|
|
|
|
|
1999-05-02 17:29:35 -04:00
|
|
|
.if ${OSVERSION} < 400004
|
|
|
|
FC= ./xf77
|
|
|
|
.else
|
|
|
|
FC= f77
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_ENV+= FC=${FC}
|
|
|
|
|
1996-12-21 23:36:43 -05:00
|
|
|
post-install:
|
1998-10-04 23:06:04 -04:00
|
|
|
.for f in libcpgplot.so libpgplot.so
|
|
|
|
${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
|
|
|
|
.endfor
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1996-12-21 23:36:43 -05:00
|
|
|
|
1998-11-11 00:37:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|