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.) --- misc/cwish/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'misc/cwish') diff --git a/misc/cwish/Makefile b/misc/cwish/Makefile index 28e67d590631..5d78f7d0d436 100644 --- a/misc/cwish/Makefile +++ b/misc/cwish/Makefile @@ -4,7 +4,7 @@ # Date created: Thur Sept 25, 1998 # Whom: David O'Brien (obrien@NUXI.com) # -# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# $Id: Makefile,v 1.1.1.1 1998/09/25 10:57:57 obrien Exp $ # DISTNAME= cwish @@ -14,15 +14,16 @@ MASTER_SITES= http://www.hcs.de/users/hm/packages/ MAINTAINER= obrien@FreeBSD.org -OSVERSION!= sysctl -n kern.osreldate -.if ${OSVERSION} >= 300000 -BROKEN= "headers problem" -.endif - NO_WRKSUBDIR= yes ALL_TARGET= #emtpy MAN1= cwish.1 +.include + +.if ${OSVERSION} >= 300000 +BROKEN= "headers problem" +.endif + pre-configure: ${CP} ${WRKSRC}/Makefile.freebsd ${WRKSRC}/Makefile @@ -30,4 +31,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cwish ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cwish.1 ${PREFIX}/man/man1 -.include +.include -- cgit v1.2.3