1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/graphics/pgplot/Makefile
Jean-Marc Zucconi 9e6f007b4a Compile with g77 on 4.0-CURRENT
Submitted by:	obrien
1999-05-02 21:29:35 +00:00

42 lines
753 B
Makefile

# New ports collection makefile for: pgplot
# Version required: 5.2
# Date created: 21 December 1996
# Whom: jmz
#
# $Id: Makefile,v 1.9 1998/12/22 08:22:54 asami Exp $
#
DISTNAME= pgplot5.2
PKGNAME= pgplot-5.2
CATEGORIES= graphics
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
MAINTAINER= jmz@FreeBSD.org
USE_XLIB= 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:
.for f in libcpgplot.so libpgplot.so
${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
.endfor
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>