aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-13 12:03:48 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-13 12:03:48 +0800
commitd905d1bf9ef071a4c34c2edcca126889e0b4ffd9 (patch)
tree4dbc3974941483a3b50575aee946ee80de0359ce /sysutils
parentfbe60aa9da86ac45813fd52c262886863c0b3001 (diff)
downloadfreebsd-ports-gnome-d905d1bf9ef071a4c34c2edcca126889e0b4ffd9.tar.gz
freebsd-ports-gnome-d905d1bf9ef071a4c34c2edcca126889e0b4ffd9.tar.zst
freebsd-ports-gnome-d905d1bf9ef071a4c34c2edcca126889e0b4ffd9.zip
add file for 4.3-pre users
PR: 32709 Submitted by: Jason Harris <jharris@widomaker.com>
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