diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-04 15:50:35 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-04 15:50:35 +0800 |
commit | 1c361e114bfec87f8f62c55f27b27500ba2724f3 (patch) | |
tree | 437d6563e1f761c2e52d7e1db7b34a0dbbbd3bb6 | |
parent | 5d2fcdefbdd15d552560166cec5865d142157693 (diff) | |
download | freebsd-ports-gnome-1c361e114bfec87f8f62c55f27b27500ba2724f3.tar.gz freebsd-ports-gnome-1c361e114bfec87f8f62c55f27b27500ba2724f3.tar.zst freebsd-ports-gnome-1c361e114bfec87f8f62c55f27b27500ba2724f3.zip |
John Capo <jc@irbs.com>'s xfm port.
Submitted by: jc
-rw-r--r-- | x11-fm/xfm/Makefile | 15 | ||||
-rw-r--r-- | x11-fm/xfm/files/patch-aa | 61 | ||||
-rw-r--r-- | x11-fm/xfm/pkg-comment | 1 | ||||
-rw-r--r-- | x11-fm/xfm/pkg-descr | 69 | ||||
-rw-r--r-- | x11-fm/xfm/pkg-plist | 124 |
5 files changed, 270 insertions, 0 deletions
diff --git a/x11-fm/xfm/Makefile b/x11-fm/xfm/Makefile new file mode 100644 index 000000000000..d1699ef84d49 --- /dev/null +++ b/x11-fm/xfm/Makefile @@ -0,0 +1,15 @@ +# New ports collection makefile for: xfm +# Version required: 1.3 +# Date created: 28 December 1994 +# Whom: jc@irbs.com John Capo +# +# $Id: $ +# + +DISTNAME= xfm-1.3 +DISTFILES= xfm-1.3.tar.gz +USE_IMAKE= yes +MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/applications/ +DEPENDS= ${PORTSDIR}/x11/xpm + +.include <bsd.port.mk> diff --git a/x11-fm/xfm/files/patch-aa b/x11-fm/xfm/files/patch-aa new file mode 100644 index 000000000000..e84076da2aa7 --- /dev/null +++ b/x11-fm/xfm/files/patch-aa @@ -0,0 +1,61 @@ +diff -rc ./xfm/FmErrors.c ../xfm-1.3/xfm/FmErrors.c +*** ./xfm/FmErrors.c Sat Apr 30 22:03:13 1994 +--- ../xfm-1.3/xfm/FmErrors.c Mon Dec 26 19:36:08 1994 +*************** +*** 21,31 **** + + #define LABEL_WIDTH 300 + +- /* Uggh ...... */ +- #ifndef linux +- extern char *sys_errlist[]; +- #endif +- + /*----------------------------------------------------------------------------- + STAIC DATA + -----------------------------------------------------------------------------*/ +--- 21,26 ---- +diff -rc ./xfm/FmUtils.c ../xfm-1.3/xfm/FmUtils.c +*** ./xfm/FmUtils.c Sat May 14 08:42:10 1994 +--- ../xfm-1.3/xfm/FmUtils.c Wed Dec 28 17:08:21 1994 +*************** +*** 518,523 **** +--- 518,524 ---- + dialog_questions = (QuestionRec *)XtMalloc(n_vars*sizeof(QuestionRec)); + for (i = 0; i < n_vars; i++) { + vals[i] = (char *)XtMalloc(MAXVARSTRINGLEN); ++ bzero(vals[i], MAXVARSTRINGLEN); + dialog_questions[i].label = vars[i]; + dialog_questions[i].value = vals[i]; + dialog_questions[i].length = MAXVARSTRINGLEN; +diff -rc ./xfm-apps ../xfm-1.3/xfm-apps +*** ./xfm-apps Mon May 16 16:20:35 1994 +--- ../xfm-1.3/xfm-apps Wed Dec 28 17:16:42 1994 +*************** +*** 5,16 **** + ########################################## + + Terminal:::xterm.xpm:exec xterm: +! Editor:::editor.xpm:exec emacs:exec emacs $* + Printer:::printer.xpm::exec lpr $* + Mail:::mail.xpm:exec xmailtool: + Calculator:::calc.xpm:exec xcalc: + Manual:::xman.xpm:exec xman: + Toolbox::.xfm/xfm-tools:xfm_appmgr.xpm:LOAD: +! Trash::.trash:trash.xpm:OPEN:shift; mv -f -b -V numbered $* ~/.trash + A\::/disk:a:disk.xpm:OPEN: + B\::/disk:b:disk.xpm:OPEN: +--- 5,17 ---- + ########################################## + + Terminal:::xterm.xpm:exec xterm: +! Emacs:::editor.xpm:exec emacs:exec emacs $* +! Vi:::editor.xpm:exec xterm -geometry 80x30 -sb:exec xterm -geometry 80x30 -sb $* + Printer:::printer.xpm::exec lpr $* + Mail:::mail.xpm:exec xmailtool: + Calculator:::calc.xpm:exec xcalc: + Manual:::xman.xpm:exec xman: + Toolbox::.xfm/xfm-tools:xfm_appmgr.xpm:LOAD: +! Trash::.trash:trash.xpm:OPEN:shift; mv -f numbered $* ~/.trash + A\::/disk:a:disk.xpm:OPEN: + B\::/disk:b:disk.xpm:OPEN: diff --git a/x11-fm/xfm/pkg-comment b/x11-fm/xfm/pkg-comment new file mode 100644 index 000000000000..98d898b1c8e8 --- /dev/null +++ b/x11-fm/xfm/pkg-comment @@ -0,0 +1 @@ +xfm-1.3 - xfm version 1.3 diff --git a/x11-fm/xfm/pkg-descr b/x11-fm/xfm/pkg-descr new file mode 100644 index 000000000000..34feeceea026 --- /dev/null +++ b/x11-fm/xfm/pkg-descr @@ -0,0 +1,69 @@ +xfm-1.3 + +Here is an extract from the source distribution xfm-1.3 README file: + + XFM - The X File Manager (ver 1.3) + ---------------------------------- + + (c) Simon Marlow 1990-1993 simonm@dcs.glasgow.ac.uk + (c) Albert Graef 1994 ag@muwiinfa.geschichte.uni-mainz.de + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +------------------------------------------------------------------------------ + +This is a powerful file and applications manager program written using the X +toolkit. It contains virtually all of the features that you would expect in a +file manager -- move around your directory tree in multiple windows, and move, +copy or delete files with simple mouse operations. Directory displays are +updated automatically in regular intervals when the contents of a diaplayed +directory changes. The integrated application manager allows you to load files +into your favourite applications from the file manager by dragging icons. It +can also be used as a "shelf" onto which you can place files and directories +you are currently working with. A special LOAD action for application files +enables you to manage different application groups. + +User-definable file types allow you to specify a command to be executed when +double-clicking on a file or dropping other files onto it. The command can +also prompt you for required parameters. Xfm makes it easy to configure +special kinds of actions such as, e.g., replacing the contents of a compressed +tar archive with a collection of selected files. A lot of corresponding +examples can be found in the distribution, including a fully functional +trashcan feature. Last not least, xfm can automatically mount and unmount +special devices like floppies as you open and close the corresponding +directories (mount points). So you won't have to fiddle around with mount or +mtools commands any more if all you want to do is copy some files between the +hard disk and your floppy drive. + +The original version of this program was written by Simon Marlow at the +University of Glasgow. I included Simon's README for reference purposes; see +README-1.2. [Most of the information in this file is outdated; please refer to +this README file and the man page for up-to-date installation and usage +instructions.] The current release stems from my efforts to resolve some nasty +bugs in the 1.2 beta version distributed with Linux slackware, and to add XPM +support for displaying color icons in the file and application windows. As it +came out, I also added a plethora of other features to make xfm the tool I was +looking for; see the ChangeLog for details. Realizing that my private xfm +version might be useful for others as well, I contacted Simon and he told me +to put together a new release and make it available on the net. So here it is! +I hope you will find it as useful as I do -- I am now using xfm regularly, and +can't imagine how I ever did without it. I think that this program compares +well to other free -- and even commercial -- file managers. It is fast, +convenient to use, and offers a lot of built-in functionality and +configuration options. If you are not addicted to the shell and like to +shuffle around files with one hand in order to perform tasks such as moving, +copying, deleting, compiling, formatting, archiving, compressing, etc. etc., +then xfm is certainly for you. + diff --git a/x11-fm/xfm/pkg-plist b/x11-fm/xfm/pkg-plist new file mode 100644 index 000000000000..3e9d60642480 --- /dev/null +++ b/x11-fm/xfm/pkg-plist @@ -0,0 +1,124 @@ +@cwd /usr/X11R6 +@mode 755 +bin/xfm +bin/xfm.install +@mode 444 +man/man1/xfm.1.gz +lib/X11/app-defaults/Xfm +lib/xfm/dot.xfm/xfm-apps +lib/xfm/dot.xfm/xfm-tools +lib/xfm/dot.xfm/xfmdev +lib/xfm/dot.xfm/xfmrc +lib/xfm/bitmaps/binedit.xbm +lib/xfm/bitmaps/bitmap.xbm +lib/xfm/bitmaps/calendar.xbm +lib/xfm/bitmaps/clipboard.xbm +lib/xfm/bitmaps/debug.xbm +lib/xfm/bitmaps/emacs.xbm +lib/xfm/bitmaps/hexdump.xbm +lib/xfm/bitmaps/letters.xbm +lib/xfm/bitmaps/lock.xbm +lib/xfm/bitmaps/printer.xbm +lib/xfm/bitmaps/sc.xbm +lib/xfm/bitmaps/trash.xbm +lib/xfm/bitmaps/xchess.xbm +lib/xfm/bitmaps/xdbx.xbm +lib/xfm/bitmaps/xfm_a.xbm +lib/xfm/bitmaps/xfm_appmgr.xbm +lib/xfm/bitmaps/xfm_blackhole.xbm +lib/xfm/bitmaps/xfm_c.xbm +lib/xfm/bitmaps/xfm_cc.xbm +lib/xfm/bitmaps/xfm_cline.xbm +lib/xfm/bitmaps/xfm_dir.xbm +lib/xfm/bitmaps/xfm_dirlnk.xbm +lib/xfm/bitmaps/xfm_dirmsk.xbm +lib/xfm/bitmaps/xfm_excl.xbm +lib/xfm/bitmaps/xfm_exec.xbm +lib/xfm/bitmaps/xfm_execlnk.xbm +lib/xfm/bitmaps/xfm_execmsk.xbm +lib/xfm/bitmaps/xfm_file.xbm +lib/xfm/bitmaps/xfm_filemsk.xbm +lib/xfm/bitmaps/xfm_files.xbm +lib/xfm/bitmaps/xfm_filesmsk.xbm +lib/xfm/bitmaps/xfm_fline.xbm +lib/xfm/bitmaps/xfm_h.xbm +lib/xfm/bitmaps/xfm_icon.xbm +lib/xfm/bitmaps/xfm_larrow.xbm +lib/xfm/bitmaps/xfm_lines.xbm +lib/xfm/bitmaps/xfm_lline.xbm +lib/xfm/bitmaps/xfm_noentry.xbm +lib/xfm/bitmaps/xfm_noentrymsk.xbm +lib/xfm/bitmaps/xfm_notick.xbm +lib/xfm/bitmaps/xfm_o.xbm +lib/xfm/bitmaps/xfm_rarrow.xbm +lib/xfm/bitmaps/xfm_symlnk.xbm +lib/xfm/bitmaps/xfm_tick.xbm +lib/xfm/bitmaps/xfm_tline.xbm +lib/xfm/bitmaps/xfm_watch.xbm +lib/xfm/bitmaps/xfm_watchmsk.xbm +lib/xfm/bitmaps/xfm_wavy.xbm +lib/xfm/bitmaps/xfm_wavy1.xbm +lib/xfm/bitmaps/xfm_wavy_arrow.xbm +lib/xfm/bitmaps/xman.xbm +lib/xfm/pixmaps/calc.xpm +lib/xfm/pixmaps/calendar.xpm +lib/xfm/pixmaps/cdrom.xpm +lib/xfm/pixmaps/clipboard.xpm +lib/xfm/pixmaps/compress.xpm +lib/xfm/pixmaps/disk.xpm +lib/xfm/pixmaps/edit.xpm +lib/xfm/pixmaps/editor.xpm +lib/xfm/pixmaps/find.xpm +lib/xfm/pixmaps/ghostview.xpm +lib/xfm/pixmaps/grep.xpm +lib/xfm/pixmaps/lock.xpm +lib/xfm/pixmaps/mail.xpm +lib/xfm/pixmaps/make.xpm +lib/xfm/pixmaps/pixmap.xpm +lib/xfm/pixmaps/printer.xpm +lib/xfm/pixmaps/tar.xpm +lib/xfm/pixmaps/taz.xpm +lib/xfm/pixmaps/tex.xpm +lib/xfm/pixmaps/trash.xpm +lib/xfm/pixmaps/trash2.xpm +lib/xfm/pixmaps/xchess.xpm +lib/xfm/pixmaps/xdbx.xpm +lib/xfm/pixmaps/xdbx48.xpm +lib/xfm/pixmaps/xfm_a.xpm +lib/xfm/pixmaps/xfm_appmgr.xpm +lib/xfm/pixmaps/xfm_apps.xpm +lib/xfm/pixmaps/xfm_au.xpm +lib/xfm/pixmaps/xfm_blackhole.xpm +lib/xfm/pixmaps/xfm_c.xpm +lib/xfm/pixmaps/xfm_cc.xpm +lib/xfm/pixmaps/xfm_core.xpm +lib/xfm/pixmaps/xfm_data.xpm +lib/xfm/pixmaps/xfm_dir.xpm +lib/xfm/pixmaps/xfm_dirlnk.xpm +lib/xfm/pixmaps/xfm_exec.xpm +lib/xfm/pixmaps/xfm_execlnk.xpm +lib/xfm/pixmaps/xfm_file.xpm +lib/xfm/pixmaps/xfm_file_small.xpm +lib/xfm/pixmaps/xfm_files.xpm +lib/xfm/pixmaps/xfm_gif.xpm +lib/xfm/pixmaps/xfm_h.xpm +lib/xfm/pixmaps/xfm_icon.xpm +lib/xfm/pixmaps/xfm_info.xpm +lib/xfm/pixmaps/xfm_make.xpm +lib/xfm/pixmaps/xfm_o.xpm +lib/xfm/pixmaps/xfm_ps.xpm +lib/xfm/pixmaps/xfm_symlnk.xpm +lib/xfm/pixmaps/xfm_tar.xpm +lib/xfm/pixmaps/xfm_taz.xpm +lib/xfm/pixmaps/xfm_tex.xpm +lib/xfm/pixmaps/xfm_tiff.xpm +lib/xfm/pixmaps/xfm_updir.xpm +lib/xfm/pixmaps/xfm_xbm.xpm +lib/xfm/pixmaps/xfm_xpm.xpm +lib/xfm/pixmaps/xfm_z.xpm +lib/xfm/pixmaps/xfm_zip.xpm +lib/xfm/pixmaps/xmag.xpm +lib/xfm/pixmaps/xman.xpm +lib/xfm/pixmaps/xpaint.xpm +lib/xfm/pixmaps/xterm.xpm +lib/xfm/pixmaps/zip.xpm |