diff options
-rw-r--r-- | emulators/hfs/Makefile | 14 | ||||
-rw-r--r-- | emulators/hfs/pkg-comment | 1 | ||||
-rw-r--r-- | emulators/hfs/pkg-descr | 41 | ||||
-rw-r--r-- | emulators/hfs/pkg-plist | 7 | ||||
-rw-r--r-- | emulators/hfs/scripts/configure | 14 |
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 |