summaryrefslogtreecommitdiff
path: root/x11/filerunner
diff options
context:
space:
mode:
authortron <tron>1998-03-08 19:18:53 +0000
committertron <tron>1998-03-08 19:18:53 +0000
commit87f0a7455a8f3b4883cd95bc676559bd700781e7 (patch)
tree9b86d53c9f9d183779a5022b2455e4d5cff9c07a /x11/filerunner
parent398f291d43e7cc0bedbd5a1382337f209ae5d42f (diff)
downloadpkgsrc-87f0a7455a8f3b4883cd95bc676559bd700781e7.tar.gz
Initial import of FreeBSD's "filerunner-2.4.1" port.
Diffstat (limited to 'x11/filerunner')
-rw-r--r--x11/filerunner/Makefile39
-rw-r--r--x11/filerunner/files/md51
-rw-r--r--x11/filerunner/patches/patch-aa18
-rw-r--r--x11/filerunner/patches/patch-ab28
-rw-r--r--x11/filerunner/pkg/COMMENT1
-rw-r--r--x11/filerunner/pkg/DESCR5
-rw-r--r--x11/filerunner/pkg/PLIST34
7 files changed, 126 insertions, 0 deletions
diff --git a/x11/filerunner/Makefile b/x11/filerunner/Makefile
new file mode 100644
index 00000000000..0bd352e582b
--- /dev/null
+++ b/x11/filerunner/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: filerunner
+# Version required: 2.4.1
+# Date created: 3 August 1996
+# Whom: lukin
+#
+# $FreeBSD Id: Makefile,v 1.12 1998/02/24 21:43:11 jseger Exp
+#
+
+DISTNAME= FileRunner_2.4.1
+PKGNAME= filerunner-2.4.1
+CATEGORIES= x11 tk81
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= X11/desktop
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= vanilla@FreeBSD.ORG
+
+LIB_DEPENDS= tk81\\.1:${PORTSDIR}/x11/tk81
+
+WRKSRC= ${WRKDIR}/FileRunner_2.4.1
+MAKEFILE= Makefile.freebsd
+MAKE_ENV+= X11BASE=${X11BASE}
+
+pre-build:
+ @ ${RM} ${WRKSRC}/ext.so
+ @ ${CP} ${WRKSRC}/Makefiles/Makefile.freebsd ${WRKSRC}
+
+do-install:
+ @ ${MKDIR} ${PREFIX}/lib/FileRunner/bitmaps
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/fr ${PREFIX}/lib/FileRunner
+ @ ln -sf ${PREFIX}/lib/FileRunner/fr ${PREFIX}/bin
+.for file in FAQ HISTORY QuickStart.txt Tips Users_Guide.txt chmod.tcl cmd.tcl config.tcl dialog_about.tcl ext.so font.tcl frcolor frftp ftp.tcl http.tcl tclIndex
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/FileRunner
+.endfor
+.for map in cross.bit frterm.bit larger.bit left.bit max.bit pgdown.bit pgup.bit right.bit smaller.bit toggle.bit tree.bit up.bit update.bit xterm.bit
+ @ ${INSTALL_DATA} ${WRKSRC}/bitmaps/${map} ${PREFIX}/lib/FileRunner/bitmaps
+.endfor
+
+.include <bsd.port.mk>
diff --git a/x11/filerunner/files/md5 b/x11/filerunner/files/md5
new file mode 100644
index 00000000000..25f8495e40f
--- /dev/null
+++ b/x11/filerunner/files/md5
@@ -0,0 +1 @@
+MD5 (FileRunner_2.4.1.tgz) = f2973d3ceedf5d2e85aa06785998f8b6
diff --git a/x11/filerunner/patches/patch-aa b/x11/filerunner/patches/patch-aa
new file mode 100644
index 00000000000..692d074162e
--- /dev/null
+++ b/x11/filerunner/patches/patch-aa
@@ -0,0 +1,18 @@
+--- Makefiles/Makefile.freebsd.orig Fri Aug 8 21:56:08 1997
++++ Makefiles/Makefile.freebsd Mon Sep 22 12:03:44 1997
+@@ -2,11 +2,11 @@
+ # It has been tested under FreeBSD 2.1.5.
+
+ # Change this if you have this stuff somewhere else.
+-TCLINC = /usr/local/lib/tcl8.0
+-TKINC = /usr/local/lib/tk8.0
+-X11INC = /usr/X11/include
++TCLINC = ${PREFIX}/include/tcl8.1
++TKINC = ${PREFIX}/include/tk8.1
++X11INC = ${X11BASE}/include
+
+-CFLAGS = -Wall -fPIC -O3 -I$(TCLINC) -I$(TKINC) -I$(X11INC)
++CFLAGS += -Wall -fPIC -I$(TCLINC) -I$(TKINC) -I$(X11INC)
+
+ CC = gcc
+
diff --git a/x11/filerunner/patches/patch-ab b/x11/filerunner/patches/patch-ab
new file mode 100644
index 00000000000..098c910749c
--- /dev/null
+++ b/x11/filerunner/patches/patch-ab
@@ -0,0 +1,28 @@
+*** fr.orig Thu Sep 18 22:55:04 1997
+--- fr Thu Sep 18 22:57:08 1997
+*************** CheckCmdLineArgs
+*** 3125,3135 ****
+
+ FindLibfr
+
+ # Load patches for 8.0...
+! if {$tk_patchLevel == "8.0"} {
+! #puts "Buggy 8.0 menu.tcl file, applying patch"
+! source $glob(lib_fr)/menu_80_patch.tcl
+! }
+
+ set auto_path [linsert $auto_path 0 $glob(lib_fr) ]
+
+--- 3125,3136 ----
+
+ FindLibfr
+
++ # FreeBSD fix the bug already..
+ # Load patches for 8.0...
+! #if {$tk_patchLevel == "8.0"} {
+! # #puts "Buggy 8.0 menu.tcl file, applying patch"
+! # source $glob(lib_fr)/menu_80_patch.tcl
+! #}
+
+ set auto_path [linsert $auto_path 0 $glob(lib_fr) ]
+
diff --git a/x11/filerunner/pkg/COMMENT b/x11/filerunner/pkg/COMMENT
new file mode 100644
index 00000000000..102806f1ad5
--- /dev/null
+++ b/x11/filerunner/pkg/COMMENT
@@ -0,0 +1 @@
+Filemanager with FTP capabilities. Uses Tcl/Tk.
diff --git a/x11/filerunner/pkg/DESCR b/x11/filerunner/pkg/DESCR
new file mode 100644
index 00000000000..a88a6bb5ed8
--- /dev/null
+++ b/x11/filerunner/pkg/DESCR
@@ -0,0 +1,5 @@
+Filemanager with FTP capabilities. Uses Tcl/Tk.
+Author: hch@cd.chalmers.se <Henrik Harmsen>
+
+FileRunner is distributed under the GNU General Public License since
+FileRunner version 2.4.1
diff --git a/x11/filerunner/pkg/PLIST b/x11/filerunner/pkg/PLIST
new file mode 100644
index 00000000000..b41fc05be41
--- /dev/null
+++ b/x11/filerunner/pkg/PLIST
@@ -0,0 +1,34 @@
+lib/FileRunner/FAQ
+lib/FileRunner/HISTORY
+lib/FileRunner/QuickStart.txt
+lib/FileRunner/Tips
+lib/FileRunner/Users_Guide.txt
+lib/FileRunner/chmod.tcl
+lib/FileRunner/cmd.tcl
+lib/FileRunner/config.tcl
+lib/FileRunner/dialog_about.tcl
+lib/FileRunner/ext.so
+lib/FileRunner/font.tcl
+lib/FileRunner/fr
+lib/FileRunner/frcolor
+lib/FileRunner/frftp
+lib/FileRunner/ftp.tcl
+lib/FileRunner/http.tcl
+lib/FileRunner/tclIndex
+lib/FileRunner/bitmaps/cross.bit
+lib/FileRunner/bitmaps/frterm.bit
+lib/FileRunner/bitmaps/larger.bit
+lib/FileRunner/bitmaps/left.bit
+lib/FileRunner/bitmaps/max.bit
+lib/FileRunner/bitmaps/pgdown.bit
+lib/FileRunner/bitmaps/pgup.bit
+lib/FileRunner/bitmaps/right.bit
+lib/FileRunner/bitmaps/smaller.bit
+lib/FileRunner/bitmaps/tree.bit
+lib/FileRunner/bitmaps/toggle.bit
+lib/FileRunner/bitmaps/up.bit
+lib/FileRunner/bitmaps/update.bit
+lib/FileRunner/bitmaps/xterm.bit
+bin/fr
+@dirrm lib/FileRunner/bitmaps
+@dirrm lib/FileRunner