diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /graphics/pgplot | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.zst freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip |
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.)
Diffstat (limited to 'graphics/pgplot')
-rw-r--r-- | graphics/pgplot/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile index ef83f76f6c0e..2377bd57df05 100644 --- a/graphics/pgplot/Makefile +++ b/graphics/pgplot/Makefile @@ -3,7 +3,7 @@ # Date created: 21 December 1996 # Whom: jmz # -# $Id: Makefile,v 1.5 1998/10/05 03:01:29 steve Exp $ +# $Id: Makefile,v 1.6 1998/10/12 03:19:03 jseger Exp $ # DISTNAME= pgplot5.2 @@ -15,21 +15,22 @@ MAINTAINER= jmz@FreeBSD.org WRKSRC= ${WRKDIR}/pgplot -OSVERSION!= sysctl -n kern.osreldate +.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.mk> - -.if ${PORTOBJFORMAT} == "elf" -VERSION= 5 -.else -VERSION= 5.2 -.endif +.include <bsd.port.post.mk> |