aboutsummaryrefslogtreecommitdiff
path: root/graphics/pgplot
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /graphics/pgplot
parentc2e32ac36f406a78d4fb097baacb7fd65c4817d8 (diff)
downloadports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.tar.gz
ports-dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b.zip
Notes
Diffstat (limited to 'graphics/pgplot')
-rw-r--r--graphics/pgplot/Makefile19
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>