summaryrefslogtreecommitdiff
path: root/sysutils/gmc
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-15 00:10:30 +0000
committertron <tron@pkgsrc.org>1999-03-15 00:10:30 +0000
commit2a28dbdfe17a6002ef387cf34af71bb55d216433 (patch)
treeb24b938b21ab2e4777b15fbe86c014d5a65b79a0 /sysutils/gmc
parent4b2a2ba41fd80d2c44f944c4dca62cb3975df0a4 (diff)
downloadpkgsrc-2a28dbdfe17a6002ef387cf34af71bb55d216433.tar.gz
Initial import of "gmc-4.5.25" package:
Gnome version of Midnight Commander, a free Norton Commander Clone
Diffstat (limited to 'sysutils/gmc')
-rw-r--r--sysutils/gmc/Makefile31
-rw-r--r--sysutils/gmc/files/md53
-rw-r--r--sysutils/gmc/patches/patch-aa13
-rw-r--r--sysutils/gmc/patches/patch-ab18
-rw-r--r--sysutils/gmc/patches/patch-ac30
-rw-r--r--sysutils/gmc/patches/patch-ad24
-rw-r--r--sysutils/gmc/pkg/COMMENT1
-rw-r--r--sysutils/gmc/pkg/DESCR8
-rw-r--r--sysutils/gmc/pkg/PLIST124
9 files changed, 252 insertions, 0 deletions
diff --git a/sysutils/gmc/Makefile b/sysutils/gmc/Makefile
new file mode 100644
index 00000000000..c8ee5b33741
--- /dev/null
+++ b/sysutils/gmc/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+DISTNAME= mc-4.5.25
+PKGNAME= gmc-4.5.25
+CATEGORIES= systuils gnome
+MASTER_SITES= ftp://ftp.gnome.org/pub/GNOME/sources/gnome-1.0/sources/ \
+ ftp://ftp.jimpick.com/pub/mirrors/gnome/gnome-1.0/sources/ \
+ ftp://ftp.informatik.uni-bonn.de/pub/os/unix/gnome/gnome-1.0/sources/
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.gnome.org/mc/
+
+DEPENDS+= libslang-1.2.2:../../devel/libslang
+DEPENDS+= gnome-core-1.0.1:../../x11/gnome-core
+
+CONFLICTS+= mc-*
+
+GNU_CONFIGURE= YES
+USE_GMAKE= yes
+USE_X11BASE= yes
+# XXX the cat-id-tbl is not up to date, so the catgets is broken.
+CONFIGURE_ARGS+= --without-catgets --with-netrc --with-slang \
+ --without-x --with-gnome --without-tk
+
+# Funny stuff to get this to use the system libslang.
+CONFIGURE_ENV+= LIBS="-lm -ltermcap" CPPFLAGS="-I${LOCALBASE}/include"
+CFLAGS+= -Dunix -I${LOCALBASE}/include -DxBSD
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gmc/files/md5 b/sysutils/gmc/files/md5
new file mode 100644
index 00000000000..d7ac6e625f7
--- /dev/null
+++ b/sysutils/gmc/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+MD5 (mc-4.5.25.tar.gz) = b3462d5e33a3fb5e21ac64769dfc172b
diff --git a/sysutils/gmc/patches/patch-aa b/sysutils/gmc/patches/patch-aa
new file mode 100644
index 00000000000..9bffbe83de5
--- /dev/null
+++ b/sysutils/gmc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+--- configure.orig Mon May 25 06:16:04 1998
++++ configure Sun Oct 4 13:10:51 1998
+@@ -3073,7 +3073,7 @@
+ USE_INCLUDED_LIBINTL=yes
+ CATOBJEXT=.cat
+ INSTOBJEXT=.cat
+- DATADIRNAME=lib
++ DATADIRNAME=share
+ INTLDEPS='$(top_builddir)/intl/libintl.a'
+ INTLLIBS=$INTLDEPS
+ LIBS=`echo $LIBS | sed -e 's/-lintl//'`
diff --git a/sysutils/gmc/patches/patch-ab b/sysutils/gmc/patches/patch-ab
new file mode 100644
index 00000000000..5d3f42e422f
--- /dev/null
+++ b/sysutils/gmc/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+--- vfs/Make-mc.in.orig Sat Mar 13 03:02:30 1999
++++ vfs/Make-mc.in Sun Mar 14 23:25:48 1999
+@@ -192,11 +192,11 @@
+ $(DESTDIR)$(libdir)/extfs/$$I; \
+ done
+ for I in $(EXTFS_CONST) ; do \
+- $(INSTALL_PROGRAM) $(srcdir)/extfs/$$I \
++ $(INSTALL_SCRIPT) $(srcdir)/extfs/$$I \
+ $(DESTDIR)$(libdir)/extfs/$$I; \
+ done
+ for I in $(EXTFS_OUT) ; do \
+- $(INSTALL_PROGRAM) $(builddir)/vfs/extfs/$$I \
++ $(INSTALL_SCRIPT) $(builddir)/vfs/extfs/$$I \
+ $(DESTDIR)$(libdir)/extfs/$$I; \
+ done
+
diff --git a/sysutils/gmc/patches/patch-ac b/sysutils/gmc/patches/patch-ac
new file mode 100644
index 00000000000..f92ec6cb8a2
--- /dev/null
+++ b/sysutils/gmc/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+--- intl/xopen-msg.sed.orig Thu Jun 18 13:21:49 1998
++++ intl/xopen-msg.sed Thu Jun 18 13:32:08 1998
+@@ -81,6 +81,8 @@
+ G
+ s/^[^\n]*$/& /
+ s/\(.*\)\n\([0-9]*\)/\2 \1/
++# Change escaped quotes into regular quotes.
++ s/\\"/"/g
+ # Clear flag from last substitution.
+ tb
+ # Append the next line.
+@@ -90,12 +92,16 @@
+ s/\(.*\n\)"\(.*\)"/\1\2/
+ # Yes, then branch.
+ ta
++# Comment out if no message exists.
++ s/^\([0-9]* *\n\)/$ \1/
+ P
+ D
+ # Note that `D' includes a jump to the start!!
+ # We found a continuation line. But before printing insert '\'.
+ :a
+ s/\(.*\)\(\n.*\)/\1\\\2/
++# Change escaped quotes into regular quotes.
++ s/\\"/"/g
+ P
+ # We cannot use the sed command `D' here
+ s/.*\n\(.*\)/\1/
diff --git a/sysutils/gmc/patches/patch-ad b/sysutils/gmc/patches/patch-ad
new file mode 100644
index 00000000000..e5f288faca0
--- /dev/null
+++ b/sysutils/gmc/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+
+--- Makefile.in.orig Mon Mar 15 00:27:39 1999
++++ Makefile.in Mon Mar 15 00:27:48 1999
+@@ -46,7 +46,7 @@
+ install: installdirs
+ @for I in $(unixdirs); do cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1; cd ..; done
+ $(INSTALL_DATA) $(srcdir)/FAQ $(DESTDIR)$(libdir)/FAQ
+- $(INSTALL_PROGRAM) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install
++ $(INSTALL_DATA) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install
+ chmod +x $(DESTDIR)$(suppbindir)/mcfn_install
+ @echo "Please verify that the configuration values are correctly"
+ @echo "set in the mc.ext file in $(libdir)"
+@@ -58,9 +58,8 @@
+ installdirs:
+ $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(libdir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(mandir) $(DESTDIR)$(man8dir)
+- $(MKINSTALLDIRS) $(DESTDIR)$(icondir) $(DESTDIR)$(suppbindir)
++ $(MKINSTALLDIRS) $(DESTDIR)$(suppbindir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(tidir) $(DESTDIR)$(extfsdir)
+- $(MKINSTALLDIRS) $(DESTDIR)$(idldir)
+
+ mcfninstall:
+ -/bin/sh ./mcfn_install
diff --git a/sysutils/gmc/pkg/COMMENT b/sysutils/gmc/pkg/COMMENT
new file mode 100644
index 00000000000..d06b3588973
--- /dev/null
+++ b/sysutils/gmc/pkg/COMMENT
@@ -0,0 +1 @@
+Gnome version of Midnight Commander, a free Norton Commander Clone
diff --git a/sysutils/gmc/pkg/DESCR b/sysutils/gmc/pkg/DESCR
new file mode 100644
index 00000000000..12099f8ac3f
--- /dev/null
+++ b/sysutils/gmc/pkg/DESCR
@@ -0,0 +1,8 @@
+This is version 4.5.25 of the Midnight Commander, a free Norton Commander
+Clone with many useful features. The Midnight Commander comes with
+mouse support on xterms.
+
+The Midnight Commander is a directory browsing tool which bears a
+certain remote resemblance to John Socha's Norton Commander for DOS.
+The Midnight Commander doesn't have all the bells and whistles of its
+DOS counterpart, but was written in much less time.
diff --git a/sysutils/gmc/pkg/PLIST b/sysutils/gmc/pkg/PLIST
new file mode 100644
index 00000000000..bcc2ff3fb82
--- /dev/null
+++ b/sysutils/gmc/pkg/PLIST
@@ -0,0 +1,124 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/03/15 00:10:30 tron Exp $
+bin/gmc
+bin/mc
+bin/mcmfmt
+bin/mcedit
+bin/mcserv
+bin/plain-gmc
+etc/CORBA/servers/gmc.gnorba
+etc/mc.global
+lib/mc/FAQ
+lib/mc/bin/mcfn_install
+lib/mc/extfs/README
+lib/mc/extfs/a
+lib/mc/extfs/deb
+lib/mc/extfs/extfs.ini
+lib/mc/extfs/ftplist
+lib/mc/extfs/hp48
+lib/mc/extfs/lslR
+lib/mc/extfs/rpm
+lib/mc/extfs/mailfs
+lib/mc/extfs/patchfs
+lib/mc/extfs/sfs.ini
+lib/mc/extfs/trpm
+lib/mc/extfs/rpms
+lib/mc/extfs/ucpio
+lib/mc/extfs/urar
+lib/mc/extfs/uzoo
+lib/mc/extfs/uar
+lib/mc/extfs/ulha
+lib/mc/extfs/uzip
+lib/mc/layout
+lib/mc/mc-gnome.ext
+lib/mc/mc.ext
+lib/mc/mc.hint
+lib/mc/mc.hlp
+lib/mc/mc.lib
+lib/mc/mc.menu
+lib/mc/term/README.xterm
+lib/mc/term/ansi.ti
+lib/mc/term/linux.ti
+lib/mc/term/vt100.ti
+lib/mc/term/xterm.ad
+lib/mc/term/xterm.tcap
+lib/mc/term/xterm.ti
+man/man1/mc.1
+man/man1/mcedit.1
+man/man8/mcserv.8
+share/idl/FileManager.idl
+share/idl/Makefile.in
+share/locale/es/LC_MESSAGES/mc.mo
+share/locale/fr/LC_MESSAGES/mc.mo
+share/locale/ru/LC_MESSAGES/mc.mo
+share/locale/de/LC_MESSAGES/mc.mo
+share/locale/da/LC_MESSAGES/mc.mo
+share/locale/cs/LC_MESSAGES/mc.mo
+share/locale/it/LC_MESSAGES/mc.mo
+share/locale/pl/LC_MESSAGES/mc.mo
+share/locale/ko/LC_MESSAGES/mc.mo
+share/locale/no/LC_MESSAGES/mc.mo
+share/locale/ro/LC_MESSAGES/mc.mo
+share/mime-info/mc.keys
+share/pixmaps/mc/directory.xpm
+share/pixmaps/mc/i-blockdev.png
+share/pixmaps/mc/i-cdrom.png
+share/pixmaps/mc/i-chardev.png
+share/pixmaps/mc/i-core.png
+share/pixmaps/mc/i-dirclosed.png
+share/pixmaps/mc/i-directory.png
+share/pixmaps/mc/i-executable.png
+share/pixmaps/mc/i-fifo.png
+share/pixmaps/mc/i-floppy.png
+share/pixmaps/mc/i-nfs.png
+share/pixmaps/mc/i-printer.png
+share/pixmaps/mc/i-regular.png
+share/pixmaps/mc/i-sock.png
+share/pixmaps/mc/i-stalled.png
+share/pixmaps/mc/i-symlink.png
+share/pixmaps/mc/gnome-image-bmp.png
+share/pixmaps/mc/gnome-image-generic.png
+share/pixmaps/mc/gnome-image-gif.png
+share/pixmaps/mc/gnome-image-ief.png
+share/pixmaps/mc/gnome-image-jpeg.png
+share/pixmaps/mc/gnome-image-pbm.png
+share/pixmaps/mc/gnome-image-pgm.png
+share/pixmaps/mc/gnome-image-png.png
+share/pixmaps/mc/gnome-image-pnm.png
+share/pixmaps/mc/gnome-image-ppm.png
+share/pixmaps/mc/gnome-image-ras.png
+share/pixmaps/mc/gnome-image-rgb.png
+share/pixmaps/mc/gnome-image-tga.png
+share/pixmaps/mc/gnome-image-tiff.png
+share/pixmaps/mc/gnome-image-xbm.png
+share/pixmaps/mc/gnome-image-xpm.png
+share/pixmaps/mc/gnome-image-xwd.png
+share/pixmaps/mc/gnome-pack-deb.png
+share/pixmaps/mc/gnome-pack-rpm.png
+share/pixmaps/mc/gnome-video-mpeg.png
+share/pixmaps/mc/gnome-video-quicktime.png
+share/pixmaps/mc/gnome-video-x-msvideo.png
+share/pixmaps/mc/gnome-text-html.png
+share/pixmaps/mc/gnome-http-url.png
+share/pixmaps/mc/gnome-application-encapsulated_postscript.png
+share/pixmaps/mc/gnome-application-postscript.png
+share/pixmaps/mc/gnome-application-x-c-header.png
+share/pixmaps/mc/gnome-application-x-c-source.png
+share/pixmaps/mc/gnome-application-x-cc-source.png
+share/pixmaps/mc/gnome-package.png
+share/pixmaps/mc/gnome-compressed.png
+share/pixmaps/mc/gnome-core.png
+share/pixmaps/mc/gnome-manpage.png
+share/pixmaps/mc/gnome-objectfile.png
+share/pixmaps/mc/gnome-textfile.png
+share/pixmaps/mc/gnome-tex.png
+share/pixmaps/mc/gnome-audio.png
+share/pixmaps/mc/gnome-image-psd.png
+share/pixmaps/mc/gnome-image-xcf.png
+share/pixmaps/mc/sound.xpm
+share/pixmaps/mc/makefile.xpm
+share/pixmaps/mc/trash.xpm
+@dirrm share/pixmaps/mc
+@dirrm lib/mc/bin
+@dirrm lib/mc/extfs
+@dirrm lib/mc/term
+@dirrm lib/mc