aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-07-19 05:49:52 +0800
committeralex <alex@FreeBSD.org>2000-07-19 05:49:52 +0800
commit9dbdf4c4325aef608b420ec2d93f59d58d6e4424 (patch)
tree1547c6eb86ba0362dbae4357dbdb25ca0e53a37f
parent449c5cb97e397062b7c75052a2bfa78712bce945 (diff)
downloadfreebsd-ports-gnome-9dbdf4c4325aef608b420ec2d93f59d58d6e4424.tar.gz
freebsd-ports-gnome-9dbdf4c4325aef608b420ec2d93f59d58d6e4424.tar.zst
freebsd-ports-gnome-9dbdf4c4325aef608b420ec2d93f59d58d6e4424.zip
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).
-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