diff options
Diffstat (limited to 'graphics/pgplot/Makefile')
-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> |