aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-03-22 23:05:38 +0800
committervs <vs@FreeBSD.org>2004-03-22 23:05:38 +0800
commitffab3b907c3e4eff333c45e1ccc614cf1540a571 (patch)
tree421cb990a8880f17d95b73b9dd1f8a519d585111 /sysutils
parentf9491dee46437241d510cc0994889f92ac470ac8 (diff)
downloadfreebsd-ports-gnome-ffab3b907c3e4eff333c45e1ccc614cf1540a571.tar.gz
freebsd-ports-gnome-ffab3b907c3e4eff333c45e1ccc614cf1540a571.tar.zst
freebsd-ports-gnome-ffab3b907c3e4eff333c45e1ccc614cf1540a571.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)
Diffstat (limited to 'sysutils')
-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