From owner-freebsd-gnome Mon Aug 5 15:16:20 2002 Delivered-To: freebsd-gnome@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 904) id 21FAD37B400; Mon, 5 Aug 2002 15:16:16 -0700 (PDT) Date: Mon, 5 Aug 2002 15:16:16 -0700 From: Max Khon To: gnome@freebsd.org Subject: gnomemc port Message-ID: <20020805151616.A17063@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, there! please review attached patch. changes are: - specify --with-ncurses correctly - properly double '$' - ${PERL} -> ${REINPLACE_CMD} - handle .zip files correctly (patch-vfs::extfs::uzip) - add arrow keys defintions (patch-lib::mc.lib) consistent with /usr/ports/misc/mc port /fjoe --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gnome-mc.Makefile.diff" ? gnome-mc.Makefile.diff Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11-fm/gnomemc/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile 11 Sep 2001 16:25:07 -0000 1.25 +++ Makefile 5 Aug 2002 22:09:43 -0000 @@ -17,15 +17,16 @@ MAINTAINER= gnome@FreeBSD.org USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-edit -with-ncurses +CONFIGURE_ARGS= --without-edit --with-ncurses CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} post-patch: - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(libdir\)/mc|\$\(datadir\)/mc|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} \ + -e 's|\$$(libdir)/mc|\$$(datadir)/mc|g' \ + -e 's|\$$(datadir)/locale|\$$(prefix)/share/locale|g' .include --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-lib::mc.lib" --- lib/mc.lib.orig Tue Aug 6 03:57:05 2002 +++ lib/mc.lib Tue Aug 6 03:35:06 2002 @@ -87,6 +87,16 @@ end=\e[8~ pgdn=\e[6~ pgup=\e[5~ +up=\eOA +down=\eOB +left=\eOD +right=\eOC +home=\eOH +end=\eOF +delete=\e[3~ +kpplus=\eOk +kpminus=\eOm +kpasterix=\eOj [terminal:xterm-color] insert=\e[2~ @@ -119,6 +129,16 @@ end=\e[8~ pgdn=\e[6~ pgup=\e[5~ +up=\eOA +down=\eOB +left=\eOD +right=\eOC +home=\eOH +end=\eOF +delete=\e[3~ +kpplus=\eOk +kpminus=\eOm +kpasterix=\eOj [terminal:ibmpc3] f11=\e[Y --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-vfs::extfs::uzip --- vfs/extfs/uzip.orig Wed Mar 7 18:34:21 2001 +++ vfs/extfs/uzip Fri Apr 20 12:42:02 2001 @@ -17,5 +17,5 @@ # Location of the zip program -my $app_zip = '/usr/bin/zip'; +my $app_zip = '/usr/local/bin/zip'; # Location of the unzip program -my $app_unzip = '/usr/bin/unzip'; +my $app_unzip = '/usr/local/bin/unzip'; # Set this to 1 if zipinfo (unzip -Z) is to be used (recommended), otherwise 0. --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message