summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 04:03:48 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 04:03:48 +0000
commit25dc52867d4c6b31f4eb46f9c357bf40ef8e0dd3 (patch)
tree2b1001228e78038f34c1c24ba0e8fde1bbf48189 /sysutils
parentupgrade to 358 (diff)
add file for 4.3-pre users
PR: 32709 Submitted by: Jason Harris <jharris@widomaker.com>
Notes
Notes: svn path=/head/; revision=51442
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/file/Makefile23
-rw-r--r--sysutils/file/distinfo1
-rw-r--r--sysutils/file/pkg-comment1
-rw-r--r--sysutils/file/pkg-descr7
-rw-r--r--sysutils/file/pkg-plist4
6 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 4044db6a97e1..af29c9050dc3 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -48,6 +48,7 @@
SUBDIR += extipl
SUBDIR += fcron
SUBDIR += ffsrecov
+ SUBDIR += file
SUBDIR += filedupe
SUBDIR += fileutils
SUBDIR += flexbackup
diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile
new file mode 100644
index 000000000000..12c035fad51c
--- /dev/null
+++ b/sysutils/file/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: file
+# Date created: 2001-11-10
+# Whom: Jason Harris <jharris@widomaker.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= file
+PORTVERSION= 3.37
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
+ ftp://ftp.gw.com/mirrors/pub/unix/file/ \
+ ftp://ftp.netsw.org/system/tools/fileutils/find/ \
+ ftp://ftp.fu-berlin.de/unix/tools/file/
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-fsect-man5
+MAN1= file.1
+MAN5= magic.5
+
+.include <bsd.port.mk>
diff --git a/sysutils/file/distinfo b/sysutils/file/distinfo
new file mode 100644
index 000000000000..8b3a01398dc4
--- /dev/null
+++ b/sysutils/file/distinfo
@@ -0,0 +1 @@
+MD5 (file-3.37.tar.gz) = 5743b2fc24743b6188504762d40c0b4c
diff --git a/sysutils/file/pkg-comment b/sysutils/file/pkg-comment
new file mode 100644
index 000000000000..e5166c46ebdd
--- /dev/null
+++ b/sysutils/file/pkg-comment
@@ -0,0 +1 @@
+File - determine file type
diff --git a/sysutils/file/pkg-descr b/sysutils/file/pkg-descr
new file mode 100644
index 000000000000..0eb04acef6c4
--- /dev/null
+++ b/sysutils/file/pkg-descr
@@ -0,0 +1,7 @@
+File - determine file type
+
+File tests each argument in an attempt to classify it.
+There are three sets of tests, performed in this order:
+filesystem tests, magic number tests, and language tests.
+The first test that succeeds causes the file type to be
+printed.
diff --git a/sysutils/file/pkg-plist b/sysutils/file/pkg-plist
new file mode 100644
index 000000000000..256f2108f585
--- /dev/null
+++ b/sysutils/file/pkg-plist
@@ -0,0 +1,4 @@
+bin/file
+share/magic
+share/magic.mime
+share/magic.mgc