summaryrefslogtreecommitdiff
path: root/misc/cwish
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 /misc/cwish
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 'misc/cwish')
-rw-r--r--misc/cwish/Makefile15
1 files changed, 8 insertions, 7 deletions
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 <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>