diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/hfsutils/Makefile | 11 | ||||
-rw-r--r-- | emulators/hfsutils/distinfo | 2 | ||||
-rw-r--r-- | emulators/hfsutils/files/patch-ab | 32 |
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 + |