summaryrefslogtreecommitdiff
path: root/graphics/p5-PGPLOT/Makefile
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/p5-PGPLOT/Makefile
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
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.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'graphics/p5-PGPLOT/Makefile')
-rw-r--r--graphics/p5-PGPLOT/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 6a0281fbc702..a506c3ffd489 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -3,7 +3,7 @@
# Date created: 22 December 1996
# Whom: jmz
#
-# $Id: Makefile,v 1.10 1998/10/05 03:17:10 steve Exp $
+# $Id: Makefile,v 1.11 1998/10/12 03:21:40 jseger Exp $
#
DISTNAME= PGPLOT-2.08
@@ -18,7 +18,8 @@ LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
USE_PERL5= yes
ALL_TARGET= dynamic
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} >= 300000
BROKEN= depends on pgplot
.endif
@@ -34,4 +35,4 @@ post-install:
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
${PREFIX}/share/doc/pgperl)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>