1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/pgplot/Makefile
Satoshi Asami dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00

37 lines
730 B
Makefile

# New ports collection makefile for: pgplot
# Version required: 5.2
# Date created: 21 December 1996
# Whom: jmz
#
# $Id: Makefile,v 1.6 1998/10/12 03:19:03 jseger 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 ${OSVERSION} >= 300000
BROKEN= makehtml not found
.endif
.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>