aboutsummaryrefslogtreecommitdiff
path: root/emulators/hfsutils
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-03-12 08:05:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-03-12 08:05:34 +0000
commitb2f495fb637d215fad53c7ec3923bf737c4015bd (patch)
tree3f4de84560a0c75aa5fe48ba2cc9ac37245cf664 /emulators/hfsutils
parentd278f6497477b2eaea849f8546b4cd960a22fb55 (diff)
downloadports-b2f495fb637d215fad53c7ec3923bf737c4015bd.tar.gz
ports-b2f495fb637d215fad53c7ec3923bf737c4015bd.zip
Upgrade to 3.2.
Notes
Notes: svn path=/head/; revision=10123
Diffstat (limited to 'emulators/hfsutils')
-rw-r--r--emulators/hfsutils/Makefile11
-rw-r--r--emulators/hfsutils/distinfo2
-rw-r--r--emulators/hfsutils/files/patch-ab32
3 files changed, 41 insertions, 4 deletions
diff --git a/emulators/hfsutils/Makefile b/emulators/hfsutils/Makefile
index e099d9c5a8d8..c6abcc584cff 100644
--- a/emulators/hfsutils/Makefile
+++ b/emulators/hfsutils/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: hfsutils
-# Version required: 2.0
+# Version required: 3.2
# Date Created: 7 Sep 1997
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $Id: Makefile,v 1.4 1998/02/21 22:37:59 fenner Exp $
#
-DISTNAME= hfsutils-2.0
+DISTNAME= hfsutils-3.2
CATEGORIES= emulators tk81
MASTER_SITES= ftp://ftp.ps.ucl.ac.uk/pub/mkhfs/
@@ -14,9 +14,14 @@ MAINTAINER= vanilla@FreeBSD.ORG
LIB_DEPENDS= tk81\\.1\\.:${PORTSDIR}/x11/tk81
-MAKE_ENV+= COPTS="${CFLAGS}"
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tcl --with-tcl-libs=${PREFIX}/lib --with-tk --with-tk-libs=${PREFIX}/lib
+
MAN1= hattrib.1 hcd.1 hcopy.1 hdel.1 hdir.1 hformat.1 hfs.1 \
hfssh.1 hfsutils.1 hls.1 hmkdir.1 hmount.1 hpwd.1 \
hrename.1 hrmdir.1 humount.1 hvol.1 xhfs.1
+post-install:
+ chmod 755 ${PREFIX}/bin/hfs
+
.include <bsd.port.mk>
diff --git a/emulators/hfsutils/distinfo b/emulators/hfsutils/distinfo
index afb8c0562aac..481e078ba9ab 100644
--- a/emulators/hfsutils/distinfo
+++ b/emulators/hfsutils/distinfo
@@ -1 +1 @@
-MD5 (hfsutils-2.0.tar.gz) = 408209bfc8e740ce2dc6a7503932150c
+MD5 (hfsutils-3.2.tar.gz) = 62c288fbb966b027c1452f317f3234d8
diff --git a/emulators/hfsutils/files/patch-ab b/emulators/hfsutils/files/patch-ab
new file mode 100644
index 000000000000..a47ce464602b
--- /dev/null
+++ b/emulators/hfsutils/files/patch-ab
@@ -0,0 +1,32 @@
+--- Makefile.in.orig Fri Feb 20 06:24:05 1998
++++ Makefile.in Wed Mar 11 23:20:22 1998
+@@ -42,7 +42,7 @@
+ HARDLINK = ln -f
+
+ CC = @CC@
+-INCLUDES = @CPPFLAGS@ -Ilibhfs @TCL_INCLUDES@ @TK_INCLUDES@
++INCLUDES = @CPPFLAGS@ -Ilibhfs -I/usr/X11R6/include @TCL_INCLUDES@ @TK_INCLUDES@
+ DEFINES = @DEFS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+@@ -125,13 +125,16 @@
+ done
+
+ install_tcl :: all_tcl
+- for file in $(TCLTARGETS); do \
+- $(BININSTALL) $$file "$(BINDEST)/."; \
+- done
++# 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"; \
++ $(LIBINSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
+ rm -f "$(BINDEST)/hfs.new"; \
+ fi
+