diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /misc | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz |
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.)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cwish/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/misc/cwish/Makefile b/misc/cwish/Makefile index 28e67d5..5d78f7d 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |