From 2b7a0d2f46fa17bda52db83619852fdbec61f555 Mon Sep 17 00:00:00 2001 From: taoka Date: Thu, 6 May 1999 13:47:46 +0000 Subject: A file manager on X window with TkStep. PR: 11423 Submitted by: KIRIYAMA Kazuhiko --- x11-fm/binder/Makefile | 50 ++++++++++ x11-fm/binder/distinfo | 1 + x11-fm/binder/pkg-comment | 1 + x11-fm/binder/pkg-descr | 8 ++ x11-fm/binder/pkg-plist | 183 +++++++++++++++++++++++++++++++++++++ x11-fm/binder/scripts/post-install | 41 +++++++++ 6 files changed, 284 insertions(+) create mode 100644 x11-fm/binder/Makefile create mode 100644 x11-fm/binder/distinfo create mode 100644 x11-fm/binder/pkg-comment create mode 100644 x11-fm/binder/pkg-descr create mode 100644 x11-fm/binder/pkg-plist create mode 100644 x11-fm/binder/scripts/post-install (limited to 'x11-fm/binder') diff --git a/x11-fm/binder/Makefile b/x11-fm/binder/Makefile new file mode 100644 index 000000000000..db93fad27e7b --- /dev/null +++ b/x11-fm/binder/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: JDE's Binder +# Version required: 1.3 +# Date created: 25 March 1999 +# Whom: KIRIYAMA Kazuhiko +# +# $Id$ +# + +DISTNAME= Binder-1.3 +PKGNAME= ${LANGPREFIX}binder-1.3 +CATEGORIES= ${CATEGORY_LIST} +MASTER_SITES= http://www.aaa-int.or.jp/~jfactory/JDE/dist/ + +MAINTAINER= kiri@pis.toba-cmt.ac.jp + +RUN_DEPENDS= ${RUN_DEP_LIST} + +EXTRACT_ONLY= # extracted directly in install target +NO_WRKSUBDIR= yes +NO_BUILD= yes +USE_X_PREFIX= yes +SCRIPTS_ENV= LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION} +PLIST_SUB= PIXMAP_PATH=${PIXMAPPATH:S@^${PREFIX}/@@} + +# This port is for both x11-fm/binder and japanese/binder. +# But x11-fm/binder and japanese/binder are mutually exclusive and +# SHOULD NOT BE INSTALLED SIMULTANEOUSLY! +TKSTEPVERSION= 8.0 +PIXMAPPATH?= ${PREFIX}/share/WindowMaker/Pixmaps +LANGUAGE?= +.if (${LANGUAGE} == "Japanese") +LANGPREFIX= ja- +CATEGORY_LIST= x11-fm windowmaker tkstep80 japanese +RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/libimg \ + ${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80 +.else +CATEGORY_LIST= x11-fm windowmaker tkstep80 +RUN_DEP_LIST= ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/graphics/libimg \ + ${LOCALBASE}/share/tkstep8.0/tkstep.tcl:${PORTSDIR}/x11-toolkits/tkstep80 +.endif + +do-install: + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}.tar.gz \ + ${EXTRACT_AFTER_ARGS} -C ${PREFIX} + ${MKDIR} ${PIXMAPPATH} + ${INSTALL_DATA} ${PREFIX}/JDE/Binder/docs/Binder.xpm \ + ${PREFIX}/JDE/Binder/misc/Mounter/DiskHardDrive.xpm \ + ${PIXMAPPATH} + +.include diff --git a/x11-fm/binder/distinfo b/x11-fm/binder/distinfo new file mode 100644 index 000000000000..eeeb3821eb2c --- /dev/null +++ b/x11-fm/binder/distinfo @@ -0,0 +1 @@ +MD5 (Binder-1.3.tar.gz) = e6aee3a7e0f52c7ba58a6ce58e9aeee4 diff --git a/x11-fm/binder/pkg-comment b/x11-fm/binder/pkg-comment new file mode 100644 index 000000000000..9af7dcd2a1f4 --- /dev/null +++ b/x11-fm/binder/pkg-comment @@ -0,0 +1 @@ +A file manager on X window with TkStep. diff --git a/x11-fm/binder/pkg-descr b/x11-fm/binder/pkg-descr new file mode 100644 index 000000000000..ac05ad8cfb09 --- /dev/null +++ b/x11-fm/binder/pkg-descr @@ -0,0 +1,8 @@ +The Binder is a file manager program that was made for +the JDE desktop enviropment on X Window System. + +Note that both x11-fm/binder and japanese/binder are mutually exclusive and +SHOULD NOT BE INSTALLED SIMULTANEOUSLY! + +-KIRIYAMA Kazuhiko + diff --git a/x11-fm/binder/pkg-plist b/x11-fm/binder/pkg-plist new file mode 100644 index 000000000000..81b99dcb57b8 --- /dev/null +++ b/x11-fm/binder/pkg-plist @@ -0,0 +1,183 @@ +%%PIXMAP_PATH%%/Binder.xpm +%%PIXMAP_PATH%%/DiskHardDrive.xpm +JDE/Binder/bin/Binder.app +JDE/Binder/bin/Processes.app +JDE/Binder/defaults/Binder +JDE/Binder/docs/Binder.xpm +JDE/Binder/docs/COPYING +JDE/Binder/docs/English/FAQ.en +JDE/Binder/docs/English/INSTALL.tk.en +JDE/Binder/docs/English/README.en +JDE/Binder/docs/Japanese/Changes.ja +JDE/Binder/docs/Japanese/FAQ.ja +JDE/Binder/docs/Japanese/INSTALL.tk.ja +JDE/Binder/docs/Japanese/INSTALL.tk.sjis +JDE/Binder/docs/Japanese/README.ja +JDE/Binder/docs/Japanese/README.sjis +JDE/Binder/docs/Japanese/SPECIAL_THANKS +JDE/Binder/docs/README.icons +JDE/Binder/icons/AdobePostscript.gif +JDE/Binder/icons/Beer.gif +JDE/Binder/icons/Brush.gif +JDE/Binder/icons/BulletHole.gif +JDE/Binder/icons/Bunny.gif +JDE/Binder/icons/CPUChip.gif +JDE/Binder/icons/Calc.gif +JDE/Binder/icons/Camel.gif +JDE/Binder/icons/ColoredCompactDisc.gif +JDE/Binder/icons/Computer.black.gif +JDE/Binder/icons/Computer.gif +JDE/Binder/icons/ComputerOpen.black.gif +JDE/Binder/icons/DarkForest.gif +JDE/Binder/icons/Debug.gif +JDE/Binder/icons/DiskCD.gif +JDE/Binder/icons/DiskFloppy.gif +JDE/Binder/icons/DiskHardDrive.gif +JDE/Binder/icons/DiskSCSI.gif +JDE/Binder/icons/File.gif +JDE/Binder/icons/FileAPP.gif +JDE/Binder/icons/FileAu.gif +JDE/Binder/icons/FileBlank.gif +JDE/Binder/icons/FileDotC.gif +JDE/Binder/icons/FileDotH.gif +JDE/Binder/icons/FileEPS.gif +JDE/Binder/icons/FileEn.gif +JDE/Binder/icons/FileGz.gif +JDE/Binder/icons/FileJa.gif +JDE/Binder/icons/FileLink.gif +JDE/Binder/icons/FileLzh.gif +JDE/Binder/icons/FilePS.gif +JDE/Binder/icons/FileShar.gif +JDE/Binder/icons/FileSnd.gif +JDE/Binder/icons/FileTar.gif +JDE/Binder/icons/FileTaz.gif +JDE/Binder/icons/FileTgz.gif +JDE/Binder/icons/FileURL.gif +JDE/Binder/icons/FileUnknown.gif +JDE/Binder/icons/FileViewer.gif +JDE/Binder/icons/FileZ.gif +JDE/Binder/icons/FileZip.gif +JDE/Binder/icons/FileZoo.gif +JDE/Binder/icons/Folder.gif +JDE/Binder/icons/FolderLink.gif +JDE/Binder/icons/FolderOpen.gif +JDE/Binder/icons/FolderRuler.gif +JDE/Binder/icons/FolderRulerE.gif +JDE/Binder/icons/FolderWrench.gif +JDE/Binder/icons/Fonts2D.gif +JDE/Binder/icons/GNUstep.gif +JDE/Binder/icons/Home.gif +JDE/Binder/icons/HomeOpen.gif +JDE/Binder/icons/Homes.gif +JDE/Binder/icons/ImageGIF.gif +JDE/Binder/icons/ImageJPG.gif +JDE/Binder/icons/ImageMOV.xpm +JDE/Binder/icons/ImageMPG.gif +JDE/Binder/icons/ImagePBM.gif +JDE/Binder/icons/ImagePGM.gif +JDE/Binder/icons/ImagePNM.gif +JDE/Binder/icons/ImagePPM.gif +JDE/Binder/icons/ImageTIFF.gif +JDE/Binder/icons/ImageXBM.gif +JDE/Binder/icons/ImageXPM.gif +JDE/Binder/icons/JFLOGO.gif +JDE/Binder/icons/JGV.gif +JDE/Binder/icons/Java.gif +JDE/Binder/icons/KeysOnChain.gif +JDE/Binder/icons/Kill.gif +JDE/Binder/icons/Mandelbrot.gif +JDE/Binder/icons/MovieTestPattern.gif +JDE/Binder/icons/Muggy.gif +JDE/Binder/icons/NeXTterm.gif +JDE/Binder/icons/Netscape-1x.gif +JDE/Binder/icons/OpenSesame.gif +JDE/Binder/icons/PGP.gif +JDE/Binder/icons/Paint.gif +JDE/Binder/icons/PaintBrushSplash.gif +JDE/Binder/icons/Pref.en.gif +JDE/Binder/icons/Pref.icon.gif +JDE/Binder/icons/Pref.ja.gif +JDE/Binder/icons/Pref.list.gif +JDE/Binder/icons/ShellTerminal.gif +JDE/Binder/icons/SoundEdit.gif +JDE/Binder/icons/TeXInfo.gif +JDE/Binder/icons/TeXView.gif +JDE/Binder/icons/Wilber.gif +JDE/Binder/icons/Wrench.gif +JDE/Binder/icons/Write.gif +JDE/Binder/icons/XV.gif +JDE/Binder/icons/application.inspect.gif +JDE/Binder/icons/draw.gif +JDE/Binder/icons/manual.next.gif +JDE/Binder/icons/netscape.gif +JDE/Binder/icons/photoshop.gif +JDE/Binder/install.sh +JDE/Binder/lib/appInfo +JDE/Binder/lib/shortcut +JDE/Binder/lib/suffix.if2 +JDE/Binder/menu/alias.en +JDE/Binder/menu/alias.ja +JDE/Binder/menu/main.en +JDE/Binder/menu/main.ja +JDE/Binder/menu/mode.en +JDE/Binder/menu/mode.ja +JDE/Binder/menu/paste.en +JDE/Binder/menu/paste.ja +JDE/Binder/menu/popup.en +JDE/Binder/menu/popup.ja +JDE/Binder/menu/rename.en +JDE/Binder/menu/rename.ja +JDE/Binder/menu/send.en +JDE/Binder/menu/send.ja +JDE/Binder/misc/Mounter/DiskHardDrive.xpm +JDE/Binder/misc/Mounter/Mounter.FreeBSD +JDE/Binder/misc/Mounter/Mounter.Linux +JDE/Binder/misc/Mounter/Mounter.app +JDE/Binder/misc/Mounter/Mounter +JDE/Binder/modules/DEADJOE +JDE/Binder/modules/appIconInfo.m +JDE/Binder/modules/clock.m +JDE/Binder/modules/clockIcon.m +JDE/Binder/modules/dLister.m +JDE/Binder/modules/fileMan.m +JDE/Binder/modules/filteren.m +JDE/Binder/modules/filterja.m +JDE/Binder/modules/iconCommon.m +JDE/Binder/modules/iconMode.m +JDE/Binder/modules/if2.m +JDE/Binder/modules/inspectoren.m +JDE/Binder/modules/inspectorja.m +JDE/Binder/modules/itemSelect.m +JDE/Binder/modules/listMode.m +JDE/Binder/modules/listboxEx.m +JDE/Binder/modules/menu.m +JDE/Binder/modules/prefBinderen.m +JDE/Binder/modules/prefBinderja.m +JDE/Binder/modules/processen.m +JDE/Binder/modules/processja.m +JDE/Binder/modules/readIcons.m +JDE/Binder/modules/shortCut.m +JDE/Binder/modules/skelton.m +JDE/Binder/modules/system.m +JDE/Binder/modules/title.en +JDE/Binder/modules/title.ja +JDE/Binder/modules/versionCheck.m +JDE/Binder/tools/giftoicon +JDE/Binder/tools/giftoicon.pl +JDE/Binder/tools/iconForceCopy.tcl +bin/Binder.app +bin/Mounter.app +bin/Processes.app +@dirrm JDE/Binder/bin +@dirrm JDE/Binder/defaults +@dirrm JDE/Binder/docs/English +@dirrm JDE/Binder/docs/Japanese +@dirrm JDE/Binder/docs +@dirrm JDE/Binder/icons +@dirrm JDE/Binder/lib +@dirrm JDE/Binder/menu +@dirrm JDE/Binder/misc/Mounter +@dirrm JDE/Binder/misc +@dirrm JDE/Binder/modules +@dirrm JDE/Binder/tools +@dirrm JDE/Binder diff --git a/x11-fm/binder/scripts/post-install b/x11-fm/binder/scripts/post-install new file mode 100644 index 000000000000..68d6db344e2a --- /dev/null +++ b/x11-fm/binder/scripts/post-install @@ -0,0 +1,41 @@ +#!/bin/sh + +installdir=${PREFIX}/JDE/Binder; export installdir + +case ${LANGUAGE} in + Japanese) + for f in bin/Binder.app bin/Processes.app misc/Mounter/Mounter.app; do + ${PERL} -pi -e ' + s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ + ' ${installdir}/${f} + done + ;; + *) + ;; +esac +for f in Binder Binder.app Processes.app Mounter.app shortcut; do + case ${f} in + Binder.app|Processes.app) + target=${installdir}/bin/${f} + ;; + Mounter.app) + target=${installdir}/misc/Mounter/${f} + ;; + Binder) + target=${installdir}/defaults/${f} + ;; + shortcut) + target=${installdir}/lib/${f} + ;; + esac + ${PERL} -pi -e ' + s/^([ \t]*set[ \t]+ttblibPath[ \t]+)"[^"]*"$/$1"$ENV{installdir}"/; + s/^([ \t]*set[ \t]+ttblibPath[ \t]+)\{[^\}]*\}$/$1\{$ENV{installdir}\}/; + s@^([a-zA-Z.]+;)/usr/local/([a-zA-Z/.]+;[a-zA-Z]+)$@$1$ENV{PREFIX}/$2@; + ' ${target} +done + +${LN} -sf ${installdir}/bin/Binder.app ${PREFIX}/bin +${LN} -sf ${installdir}/bin/Processes.app ${PREFIX}/bin +${LN} -sf ${installdir}/misc/Mounter/Mounter.app ${PREFIX}/bin +${LN} -sf Mounter.FreeBSD ${installdir}/misc/Mounter/Mounter -- cgit