summaryrefslogtreecommitdiff
path: root/sysutils/xhfs
diff options
context:
space:
mode:
authorfredb <fredb>1999-10-17 04:35:55 +0000
committerfredb <fredb>1999-10-17 04:35:55 +0000
commitdf5069ea9ef617b0eb49e99c406eb58e18a15e6e (patch)
treecf19e239130faf9ac7b1880d79b15e5042cc5dd5 /sysutils/xhfs
parent9fb5b5a316e9a567ec68ff420d4e661545c00047 (diff)
downloadpkgsrc-df5069ea9ef617b0eb49e99c406eb58e18a15e6e.tar.gz
Initial import of xhfs, Tcl/Tk counterpart to hfsutils.
Diffstat (limited to 'sysutils/xhfs')
-rw-r--r--sysutils/xhfs/Makefile23
-rw-r--r--sysutils/xhfs/files/md53
-rw-r--r--sysutils/xhfs/files/patch-sum3
-rw-r--r--sysutils/xhfs/patches/patch-aa61
-rw-r--r--sysutils/xhfs/pkg/COMMENT1
-rw-r--r--sysutils/xhfs/pkg/DESCR7
-rw-r--r--sysutils/xhfs/pkg/PLIST7
7 files changed, 105 insertions, 0 deletions
diff --git a/sysutils/xhfs/Makefile b/sysutils/xhfs/Makefile
new file mode 100644
index 00000000000..bfb9cc52c7d
--- /dev/null
+++ b/sysutils/xhfs/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $
+#
+
+DISTNAME= hfsutils-3.2.6
+PKGNAME= xhfs-3.2.6
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.mars.org/pub/hfs/
+
+MAINTAINER= wrstuden@netbsd.org
+HOMEPAGE= http://www.mars.org/home/rob/proj/hfs/
+
+DEPENDS= libhfs-3.2.6:../../devel/libhfs
+DEPENDS+= tcl-8.0.5:../../lang/tcl80
+DEPENDS+= tk-8.0.5:../../x11/tk80
+
+USE_X11= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.0 \
+ --with-tk=${LOCALBASE}/lib/tk8.0 --disable-cli
+CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include/libhfs
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xhfs/files/md5 b/sysutils/xhfs/files/md5
new file mode 100644
index 00000000000..75dbd914d7f
--- /dev/null
+++ b/sysutils/xhfs/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $
+
+MD5 (hfsutils-3.2.6.tar.gz) = fa572afd6da969e25c1455f728750ec4
diff --git a/sysutils/xhfs/files/patch-sum b/sysutils/xhfs/files/patch-sum
new file mode 100644
index 00000000000..1cfd3cfaa9c
--- /dev/null
+++ b/sysutils/xhfs/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $
+
+MD5 (patch-aa) = 3c272a7def94065f04a0ad440a801a8a
diff --git a/sysutils/xhfs/patches/patch-aa b/sysutils/xhfs/patches/patch-aa
new file mode 100644
index 00000000000..acc4e57a0aa
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-aa
@@ -0,0 +1,61 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $
+
+--- Makefile.in.orig Mon Aug 31 13:40:14 1998
++++ Makefile.in Sat Oct 16 02:31:06 1999
+@@ -42,7 +42,7 @@
+ HARDLINK = ln -f
+
+ CC = @CC@
+-INCLUDES = @CPPFLAGS@ -Ilibhfs @TCL_INCLUDES@ @TK_INCLUDES@
++INCLUDES = @CPPFLAGS@ @TCL_INCLUDES@ @TK_INCLUDES@
+ DEFINES = @DEFS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+@@ -51,7 +51,7 @@
+ TKLIBS = @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@
+
+ COPTS = @CFLAGS@
+-LDOPTS = @LDFLAGS@ -Llibhfs
++LDOPTS = @LDFLAGS@
+
+ ### END OF USER CUSTOMIZATION #################################################
+
+@@ -67,11 +67,11 @@
+ TCLTARGETS = hfssh hfs
+ TKTARGETS = xhfs
+
+-LIBHFS = libhfs/libhfs.a
+-INCHFS = libhfs/hfs.h
++LIBHFS =
++INCHFS =
+
+-LIBRSRC = librsrc/librsrc.a
+-INCRSRC = librsrc/rsrc.h
++LIBRSRC =
++INCRSRC =
+
+ HFSUTIL = hfsutil
+ HFSCK = hfsck/hfsck
+@@ -125,15 +125,14 @@
+ done
+
+ install_tcl :: all_tcl
+- for file in $(TCLTARGETS); do \
+- $(BININSTALL) $$file "$(BINDEST)/."; \
+- done
++ $(BININSTALL) hfssh "$(BINDEST)/."
++ $(LIBINSTALL) hfs "$(BINDEST)/."
+
+- if [ -f "$(BINDEST)/hfs" ]; then \
+- sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
+- $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
+- rm -f "$(BINDEST)/hfs.new"; \
+- fi
++# if [ -f "$(BINDEST)/hfs" ]; then \
++# sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
++# $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
++# rm -f "$(BINDEST)/hfs.new"; \
++# fi
+
+ for file in $(TCLDOCS); do \
+ $(LIBINSTALL) doc/man/$$file \
diff --git a/sysutils/xhfs/pkg/COMMENT b/sysutils/xhfs/pkg/COMMENT
new file mode 100644
index 00000000000..ac337d179e8
--- /dev/null
+++ b/sysutils/xhfs/pkg/COMMENT
@@ -0,0 +1 @@
+Tk GUI + Tcl Shell for accessing HFS volumes
diff --git a/sysutils/xhfs/pkg/DESCR b/sysutils/xhfs/pkg/DESCR
new file mode 100644
index 00000000000..f04373153c1
--- /dev/null
+++ b/sysutils/xhfs/pkg/DESCR
@@ -0,0 +1,7 @@
+This package installs "xhfs", an elegant graphical browser for HFS
+(Apple Macintosh) volumes. Also "hfs", a command line interface,
+and "hfssh", the Tcl program that drives them both. The latter enables
+scripted manipulation of HFS volumes using the powerful Tcl language.
+
+This is the Tcl/Tk portion of Rob Mars' hfsutils. The traditional
+command line tools may be found in the systutils/hfsutils package.
diff --git a/sysutils/xhfs/pkg/PLIST b/sysutils/xhfs/pkg/PLIST
new file mode 100644
index 00000000000..f154cc12c33
--- /dev/null
+++ b/sysutils/xhfs/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $
+bin/hfssh
+bin/hfs
+bin/xhfs
+man/man1/hfssh.1
+man/man1/hfs.1
+man/man1/xhfs.1