freebsd-ports/graphics/pgplot/Makefile

45 lines
753 B
Makefile
Raw Normal View History

# New ports collection makefile for: pgplot
# Date created: 21 December 1996
# Whom: jmz
#
1999-08-25 02:16:32 -04:00
# $FreeBSD$
#
PORTNAME= pgplot
PORTVERSION= 5.2.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.astro.caltech.edu/pub/pgplot/
DISTNAME= ${PORTNAME}${PORTVERSION:R}
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
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.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}
MAKE_ARGS+= X11BASE="${X11BASE}"
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
.include <bsd.port.post.mk>