summaryrefslogblamecommitdiff
path: root/graphics/pgplot/Makefile
blob: cf5732c24a48ce86b375455f7d28b4dd43c23e4e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              


                                        
           

 

                      

                                                   
                                         


                               
                   
                           

                                

                          





                             







                         
             


                                                
 
                           
# New ports collection makefile for:	pgplot
# Date created:		21 December 1996
# Whom:			jmz
#
# $FreeBSD$
#

PORTNAME=       pgplot
PORTVERSION=	5.2
CATEGORIES=     graphics
MASTER_SITES=   ftp://astro.caltech.edu/pub/pgplot/
DISTNAME=       ${PORTNAME}${PORTVERSION}

MAINTAINER=	jmz@FreeBSD.org

USE_XLIB=	yes
INSTALLS_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:
.for f in libcpgplot.so libpgplot.so
	${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
.endfor

.include <bsd.port.post.mk>