1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/graphics/pgplot/Makefile

42 lines
665 B
Makefile
Raw Normal View History

# New ports collection makefile for: pgplot
# Date created: 21 December 1996
# Whom: jmz
#
1999-08-25 06:16:32 +00:00
# $FreeBSD$
#
PORTNAME= pgplot
PORTVERSION= 5.2
CATEGORIES= graphics
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= jmz@FreeBSD.org
1998-12-22 08:22:54 +00:00
USE_XLIB= yes
INSTALL_SHLIBS= yes
WRKSRC= ${WRKDIR}/pgplot
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
VERSION= 5
.else
VERSION= 5.2
.endif
.if ${OSVERSION} < 400004
FC= ./xf77
.else
FC= f77
.endif
MAKE_ENV+= FC=${FC}
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
.include <bsd.port.post.mk>