summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-07-18 21:49:52 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-07-18 21:49:52 +0000
commitca68c777efe0ec293ede68fb632570ce621e58f8 (patch)
treefc7773bf01c523263c50916798c5c8066fd03d10 /sysutils
parentActivate qpopper. (diff)
This finally is the version which is in the base system.
Mark BROKEN, if truncate(1) is in the base-system. I misused OSVERSION 500011 (kqueue API changes) for decision, if truncate(1) is in the base-system (small time-span).
Notes
Notes: svn path=/head/; revision=30803
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/truncate/Makefile8
-rw-r--r--sysutils/truncate/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/truncate/Makefile b/sysutils/truncate/Makefile
index a25f6f2449df..8d28b4df359e 100644
--- a/sysutils/truncate/Makefile
+++ b/sysutils/truncate/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= truncate
-PORTVERSION= 2.0
+PORTVERSION= 3.0
CATEGORIES= sysutils
MASTER_SITES= ftp://big.endian.de/pub/FreeBSD/
@@ -17,4 +17,8 @@ MANCOMPRESSED= yes
MAKE_ENV+= MANDIR=${PREFIX}/man/man BINDIR=${PREFIX}/bin
WRKSRC= ${WRKDIR}/truncate
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500011
+BROKEN= "truncate(1) is in the base-system"
+.endif
+.include <bsd.port.post.mk>
diff --git a/sysutils/truncate/distinfo b/sysutils/truncate/distinfo
index 5d31b40707b1..335788a0af77 100644
--- a/sysutils/truncate/distinfo
+++ b/sysutils/truncate/distinfo
@@ -1 +1 @@
-MD5 (truncate-2.0.tar.gz) = 9304dde76364a260f0e9d353018ffb41
+MD5 (truncate-3.0.tar.gz) = 3710d0593e2c41bf7975cf4f98263d43