aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/makefs/Makefile29
-rw-r--r--sysutils/makefs/distinfo1
-rw-r--r--sysutils/makefs/pkg-descr8
-rw-r--r--sysutils/makefs/pkg-plist1
5 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 993c513b37e8..ff5b6b072f07 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -192,6 +192,7 @@
SUBDIR += ltrace
SUBDIR += lxsplit
SUBDIR += maint
+ SUBDIR += makefs
SUBDIR += manck
SUBDIR += mcron
SUBDIR += memgrep
diff --git a/sysutils/makefs/Makefile b/sysutils/makefs/Makefile
new file mode 100644
index 000000000000..2d7dec323816
--- /dev/null
+++ b/sysutils/makefs/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: NetBSD makefs
+# Date created: 17 December 2003
+# Whom: cperciva@daemonology.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= makefs
+PORTVERSION= 20031215
+CATEGORIES= sysutils
+MASTER_SITES= http://www.daemonology.net/makefs/
+
+MAINTAINER= cperciva@daemonology.net
+COMMENT= Builds FFS images
+
+MAN8= makefs.8
+
+do-build:
+ cd ${WRKSRC} && ${SH} -xe build.sh
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/netbsdsrc/tools/makefs/makefs \
+ ${PREFIX}/sbin
+.if !defined(WITHOUT_MAN)
+ ${INSTALL_MAN} ${WRKSRC}/netbsdsrc/usr.sbin/makefs/makefs.8 \
+ ${PREFIX}/man/man8/
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/makefs/distinfo b/sysutils/makefs/distinfo
new file mode 100644
index 000000000000..0a211c0745eb
--- /dev/null
+++ b/sysutils/makefs/distinfo
@@ -0,0 +1 @@
+MD5 (makefs-20031215.tar.gz) = f4b544853b191730725d429d4206123b
diff --git a/sysutils/makefs/pkg-descr b/sysutils/makefs/pkg-descr
new file mode 100644
index 000000000000..294214fb3e65
--- /dev/null
+++ b/sysutils/makefs/pkg-descr
@@ -0,0 +1,8 @@
+This is a port of NetBSD's makefs utility. Given a directory tree,
+makefs will generate a file system image, without requiring any
+special devices, kernel support, or privileges.
+
+WWW: http://www.daemonology.net/makefs/
+
+- Colin Percival
+cperciva@daemonology.net
diff --git a/sysutils/makefs/pkg-plist b/sysutils/makefs/pkg-plist
new file mode 100644
index 000000000000..74666ec063ba
--- /dev/null
+++ b/sysutils/makefs/pkg-plist
@@ -0,0 +1 @@
+sbin/makefs