mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
34 lines
671 B
Makefile
34 lines
671 B
Makefile
# New ports collection makefile for: pgplot
|
|
# Version required: 5.2
|
|
# Date created: 21 December 1996
|
|
# Whom: jmz
|
|
#
|
|
# $Id: Makefile,v 1.8 1998/12/05 02:25:45 jmz Exp $
|
|
#
|
|
|
|
DISTNAME= pgplot5.2
|
|
PKGNAME= pgplot-5.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://astro.caltech.edu/pub/pgplot/
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
USE_XLIB= yes
|
|
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>
|