1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/graphics/pgplot/Makefile
Jean-Marc Zucconi af844213db Upgrade to version 5.2.2 (the distfile still has version 5.2)
Add a lib depend on png since this version has a png driver.
Fix minors bugs in Makefile.demo
2001-03-06 20:54:44 +00:00

43 lines
686 B
Makefile

# New ports collection makefile for: pgplot
# Date created: 21 December 1996
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= pgplot
PORTVERSION= 5.2.2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.astro.caltech.edu/pub/pgplot/
DISTNAME= ${PORTNAME}5.2
MAINTAINER= jmz@FreeBSD.org
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
USE_XLIB= yes
INSTALLS_SHLIB= 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
.include <bsd.port.post.mk>