From dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 11 Nov 1998 05:37:39 +0000 Subject: 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 to before. (This is not by any means the complete list but just the ones I've noticed recently.) --- graphics/pgperl/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'graphics/pgperl') diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile index 6a0281fbc702..a506c3ffd489 100644 --- a/graphics/pgperl/Makefile +++ b/graphics/pgperl/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 + .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 +.include -- cgit v1.2.3