1996-12-21 23:36:43 -05:00
|
|
|
# New ports collection makefile for: pgplot
|
|
|
|
# Date created: 21 December 1996
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1996-12-21 23:36:43 -05:00
|
|
|
#
|
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
PORTNAME= pgplot
|
2001-03-06 15:54:44 -05:00
|
|
|
PORTVERSION= 5.2.2
|
2001-06-26 17:11:16 -04:00
|
|
|
PORTREVISION= 1
|
2001-01-16 12:33:20 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://ftp.astro.caltech.edu/pub/pgplot/
|
2001-06-26 17:11:16 -04:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:R}
|
1996-12-21 23:36:43 -05:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
2001-09-10 22:22:51 -04:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
1998-12-22 03:22:54 -05:00
|
|
|
USE_XLIB= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-06-26 17:11:16 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1996-12-21 23:36:43 -05:00
|
|
|
|
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}
|
2001-06-26 17:11:16 -04:00
|
|
|
MAKE_ARGS+= X11BASE="${X11BASE}"
|
1999-05-02 17:29:35 -04:00
|
|
|
|
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
|
1996-12-21 23:36:43 -05:00
|
|
|
|
1998-11-11 00:37:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|