freebsd-ports/graphics/pgplot/Makefile
Jean-Marc Zucconi 4f37d30889 Unbreak.
1998-12-05 02:25:53 +00:00

32 lines
659 B
Makefile

# New ports collection makefile for: pgplot
# Version required: 5.2
# Date created: 21 December 1996
# Whom: jmz
#
# $Id: Makefile,v 1.7 1998/11/11 05:37:21 asami Exp $
#
DISTNAME= pgplot5.2
PKGNAME= pgplot-5.2
CATEGORIES= graphics
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
MAINTAINER= jmz@FreeBSD.org
WRKSRC= ${WRKDIR}/pgplot
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
VERSION= 5
.else
VERSION= 5.2
.endif
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>