aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pgplot/Makefile
blob: 9e4086712414a5b2b76eccb56ee6f221f4fbf9b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    pgplot
# Date created:     21 December 1996
# Whom:         jmz
#
# $FreeBSD$
#

PORTNAME=   pgplot
PORTVERSION=    5.2.2
PORTREVISION=   9
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.astro.caltech.edu/pub/pgplot/
DISTNAME=   ${PORTNAME}${PORTVERSION:R}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A C/FORTRAN library for drawing graphs on a variety of display devices

LIB_DEPENDS=    png.6:${PORTSDIR}/graphics/png

MAKE_JOBS_UNSAFE=   yes

USE_PERL5_BUILD=yes
USE_LDCONFIG=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

.include <bsd.port.pre.mk>

USE_XORG=   x11 xproto xt
USE_FORTRAN=    yes

post-install:
.for f in libcpgplot.so libpgplot.so
    ${LN} -sf $f.5 ${PREFIX}/lib/$f
.endfor

.include <bsd.port.post.mk>