aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mkfile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-03-22 15:05:38 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-03-22 15:05:38 +0000
commit86c296c2984a20e32447acea81a073504bd89ddf (patch)
tree274dad190c763e5943c853fb6ef6dbe2ee1a7d2c /sysutils/mkfile
parent2956c3762cd8a1ea6e22f3eba5cd799a3183698d (diff)
downloadports-86c296c2984a20e32447acea81a073504bd89ddf.tar.gz
ports-86c296c2984a20e32447acea81a073504bd89ddf.zip
Update to 1.1:
- new size suffixes (e for exabytes, p for petabytes) - integer overflow checking for size - fix for roff syntax error in manual page - Add URL - Drop patch-file in favour of MAKE_ARGS PR: 64560 Submitted by: HATANOU Tomomi (maintainer) Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=104944
Diffstat (limited to 'sysutils/mkfile')
-rw-r--r--sysutils/mkfile/Makefile5
-rw-r--r--sysutils/mkfile/distinfo3
-rw-r--r--sysutils/mkfile/files/patch-Makefile14
-rw-r--r--sysutils/mkfile/pkg-descr1
4 files changed, 6 insertions, 17 deletions
diff --git a/sysutils/mkfile/Makefile b/sysutils/mkfile/Makefile
index c547fd3d23b3..08399b8afb89 100644
--- a/sysutils/mkfile/Makefile
+++ b/sysutils/mkfile/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= mkfile
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://www.infolab.ne.jp/~hatanou/freebsd/mkfile/
-DISTNAME= mkfile
MAINTAINER= hatanou@infolab.ne.jp
COMMENT= Create files suitable for use as swap files
@@ -18,4 +17,6 @@ MAN8= mkfile.8
MANCOMPRESSED= yes
PLIST_FILES= sbin/mkfile
+MAKE_ARGS= BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
+
.include <bsd.port.mk>
diff --git a/sysutils/mkfile/distinfo b/sysutils/mkfile/distinfo
index 0ae1d4eda29e..2387570d7efb 100644
--- a/sysutils/mkfile/distinfo
+++ b/sysutils/mkfile/distinfo
@@ -1 +1,2 @@
-MD5 (mkfile.tar.gz) = 7770d43b132f35f21cec325db4840da9
+MD5 (mkfile-1.1.tar.gz) = 568060e9a97e869cd9b80ecce59f6be9
+SIZE (mkfile-1.1.tar.gz) = 3692
diff --git a/sysutils/mkfile/files/patch-Makefile b/sysutils/mkfile/files/patch-Makefile
deleted file mode 100644
index 123ddad472e0..000000000000
--- a/sysutils/mkfile/files/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-$FreeBSD$
-
---- Makefile.dist Fri Nov 16 14:50:21 2001
-+++ Makefile Fri Nov 16 14:54:44 2001
-@@ -1,7 +1,8 @@
- #
- # @(#)Makefile 1.1 (HATANOU Tomomi) 2001/06/22
- #
--BINDIR?= /usr/sbin
-+BINDIR= ${PREFIX}/sbin
-+MANDIR= ${PREFIX}/man/man
- PROG= mkfile
- MAN8= mkfile.8
-
diff --git a/sysutils/mkfile/pkg-descr b/sysutils/mkfile/pkg-descr
index c0e135cada56..4150b97bfe4e 100644
--- a/sysutils/mkfile/pkg-descr
+++ b/sysutils/mkfile/pkg-descr
@@ -2,6 +2,7 @@ mkfile(8) creates one or more files that are suitable for use as
NFS-mounted swap areas, or as local swap areas. The file is padded
with zeros by default.
+WWW: http://www.infolab.ne.jp/~hatanou/freebsd/mkfile/
----
HATANOU Tomomi
hatanou@infolab.ne.jp