aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1994-11-18 07:15:38 +0800
committerjmz <jmz@FreeBSD.org>1994-11-18 07:15:38 +0800
commit4cc86398c9868828ac78ef328d2dbf7fcc3cfa92 (patch)
tree848fbf64e8e2dcc50248ce6927e8c090b6afd066 /emulators
parent2a886e0ffd58d635b62b23415ad9cb48d17b1ed7 (diff)
downloadfreebsd-ports-gnome-4cc86398c9868828ac78ef328d2dbf7fcc3cfa92.tar.gz
freebsd-ports-gnome-4cc86398c9868828ac78ef328d2dbf7fcc3cfa92.tar.zst
freebsd-ports-gnome-4cc86398c9868828ac78ef328d2dbf7fcc3cfa92.zip
hfs - program for reading Macintosh HFS floppy disks, hard drives and CDROMs
Diffstat (limited to 'emulators')
-rw-r--r--emulators/hfs/Makefile14
-rw-r--r--emulators/hfs/pkg-comment1
-rw-r--r--emulators/hfs/pkg-descr41
-rw-r--r--emulators/hfs/pkg-plist7
-rw-r--r--emulators/hfs/scripts/configure14
5 files changed, 77 insertions, 0 deletions
diff --git a/emulators/hfs/Makefile b/emulators/hfs/Makefile
new file mode 100644
index 000000000000..7f1e60039312
--- /dev/null
+++ b/emulators/hfs/Makefile
@@ -0,0 +1,14 @@
+DISTNAME= hfs0_37
+MASTER_SITES= ftp://ftp.obs-besancon.fr/pub/outgoing/
+USE_GMAKE= yes
+
+.include <bsd.port.mk>
+
+pre-install:
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/man/man1
+
+install:
+ @chown root ${PREFIX}/bin/hfs
+ @chmod u+s ${PREFIX}/bin/hfs
+
diff --git a/emulators/hfs/pkg-comment b/emulators/hfs/pkg-comment
new file mode 100644
index 000000000000..eee0efe893af
--- /dev/null
+++ b/emulators/hfs/pkg-comment
@@ -0,0 +1 @@
+hfs - program for reading Macintosh HFS floppy disks, hard drives and CDROMs
diff --git a/emulators/hfs/pkg-descr b/emulators/hfs/pkg-descr
new file mode 100644
index 000000000000..bcbd4baedbb2
--- /dev/null
+++ b/emulators/hfs/pkg-descr
@@ -0,0 +1,41 @@
+hfs provides a command line interface to suite of functions for
+accessing Macintosh HFS floppy disks, hard drives and CD-ROMS. The
+following functions are available:
+
+- display a directory listing (ls, dir)
+
+- change directories (cd)
+
+- display the name of the current directory (pwd)
+
+- copy an HFS file into a local file (read)
+
+- display the contents of an HFS file (cat)
+
+- display the partition table on a Macintosh volume.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 26 June 1994 4
+
+
diff --git a/emulators/hfs/pkg-plist b/emulators/hfs/pkg-plist
new file mode 100644
index 000000000000..8393b89ad9be
--- /dev/null
+++ b/emulators/hfs/pkg-plist
@@ -0,0 +1,7 @@
+@cd /usr/local
+@owner root
+@mode 6755
+bin/hfs
+@owner bin
+@mode 644
+man/man1/hfs.1
diff --git a/emulators/hfs/scripts/configure b/emulators/hfs/scripts/configure
new file mode 100644
index 000000000000..a91df6c6a53d
--- /dev/null
+++ b/emulators/hfs/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1;
+
+mv Makefile Makefile.orig || exit 1;
+
+sed -e 's:/usr/.* ::' <Makefile.orig>Makefile
+
+echo "DEBUG = -O" >> Makefile
+echo "INSTALLPATH = $PREFIX" >> Makefile
+echo "CCPLUSPLUS = c++ -c" >> Makefile
+echo "LD = c++" >> Makefile
+echo "MANINSTALLDIR = $PREFIX/man/man1" >> Makefile
+exit 0; \ No newline at end of file