summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-16 03:29:21 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-16 03:29:21 +0000
commit9db1490b3ebd377473c4d70f39a77839316e5452 (patch)
treec54e93ef8a55d9d7b6d7ba6ee40d756d5d0acf7b
parentSubmitted by: maintainer (diff)
Add disktype.
Disktype detects the content format of a disk, device, or disk image. It knows about common file systems, partition tables, and boot codes.
Notes
Notes: svn path=/head/; revision=83089
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/disktype/Makefile26
-rw-r--r--sysutils/disktype/distinfo1
-rw-r--r--sysutils/disktype/pkg-descr4
-rw-r--r--sysutils/disktype/pkg-plist3
5 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 33f076db3185..bc59421c4b50 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -62,6 +62,7 @@
SUBDIR += dim
SUBDIR += dirdiff
SUBDIR += diskcheckd
+ SUBDIR += disktype
SUBDIR += diskusage
SUBDIR += doconfig
SUBDIR += du2ps
diff --git a/sysutils/disktype/Makefile b/sysutils/disktype/Makefile
new file mode 100644
index 000000000000..2372e858e64a
--- /dev/null
+++ b/sysutils/disktype/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: disktype
+# Date created: 15 June 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= disktype
+PORTVERSION= 6
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Disk formatting type autodetector
+
+USE_GMAKE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/disktype/distinfo b/sysutils/disktype/distinfo
new file mode 100644
index 000000000000..d8e0b5a16ce7
--- /dev/null
+++ b/sysutils/disktype/distinfo
@@ -0,0 +1 @@
+MD5 (disktype-6.tar.gz) = ae8dc60c0dd9cd9c3a339872141b7e16
diff --git a/sysutils/disktype/pkg-descr b/sysutils/disktype/pkg-descr
new file mode 100644
index 000000000000..36e625a30388
--- /dev/null
+++ b/sysutils/disktype/pkg-descr
@@ -0,0 +1,4 @@
+Disktype detects the content format of a disk, device, or disk image.
+It knows about common file systems, partition tables, and boot codes.
+
+WWW: http://disktype.sourceforge.net/
diff --git a/sysutils/disktype/pkg-plist b/sysutils/disktype/pkg-plist
new file mode 100644
index 000000000000..4005ac866c7e
--- /dev/null
+++ b/sysutils/disktype/pkg-plist
@@ -0,0 +1,3 @@
+bin/disktype
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%