diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:39:52 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-05-06 13:39:52 +0000 |
commit | 78d6c8b87a925855006c6e42cb9b488c2e2f8ee3 (patch) | |
tree | 76f4df3ec27dbb2c2721b5edf9ffa08195ace62f /editors/muggy | |
parent | 07d7c1719b48006310d515c314ecaf48acbedf54 (diff) | |
download | ports-78d6c8b87a925855006c6e42cb9b488c2e2f8ee3.tar.gz ports-78d6c8b87a925855006c6e42cb9b488c2e2f8ee3.zip |
Notes
Diffstat (limited to 'editors/muggy')
-rw-r--r-- | editors/muggy/Makefile | 48 | ||||
-rw-r--r-- | editors/muggy/distinfo | 1 | ||||
-rw-r--r-- | editors/muggy/pkg-comment | 1 | ||||
-rw-r--r-- | editors/muggy/pkg-descr | 19 | ||||
-rw-r--r-- | editors/muggy/pkg-plist | 58 | ||||
-rw-r--r-- | editors/muggy/scripts/post-install | 30 |
6 files changed, 157 insertions, 0 deletions
diff --git a/editors/muggy/Makefile b/editors/muggy/Makefile new file mode 100644 index 000000000000..72de6ceec02d --- /dev/null +++ b/editors/muggy/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Muggy +# Version required: 1.2b +# Date created: 25 March 1999 +# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> +# +# $Id$ +# + +DISTNAME= Muggy-1.2b +PKGNAME= ${LANGPREFIX}muggy-1.2b +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 editors/muggy and japanese/muggy. +# But editors/muggy and japanese/muggy 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= editors 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= editors 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/Muggy/docs/Muggy.logo.xpm ${PIXMAPPATH}/Muggy.xpm + +.include <bsd.port.mk> diff --git a/editors/muggy/distinfo b/editors/muggy/distinfo new file mode 100644 index 000000000000..d50bcae3e4b9 --- /dev/null +++ b/editors/muggy/distinfo @@ -0,0 +1 @@ +MD5 (Muggy-1.2b.tar.gz) = 7883f61b1d9ea20f24961dcae95a537c diff --git a/editors/muggy/pkg-comment b/editors/muggy/pkg-comment new file mode 100644 index 000000000000..5d3f5193fb63 --- /dev/null +++ b/editors/muggy/pkg-comment @@ -0,0 +1 @@ +A simple text editor for the X on TkStep. diff --git a/editors/muggy/pkg-descr b/editors/muggy/pkg-descr new file mode 100644 index 000000000000..591d489b6911 --- /dev/null +++ b/editors/muggy/pkg-descr @@ -0,0 +1,19 @@ +Muggy.app is the simple text editor for the X. +It is able to run under the Macintosh [and|or] Windows9?,too. +But it's not supported. + + Muggy has two modes called "View" and "Edit". + So you don't have to choose editor or viewer. + I think it's unique. + + She will be editable if you run her with no parameters. + And if you run her with a name of file,she will run in the + "View" mode. + + You can change the modes if you want. + +Note that both editors/muggy and japanese/muggy are mutually exclusive and +SHOULD NOT BE INSTALLED SIMULTANEOUSLY! + +-KIRIYAMA Kazuhiko +<kiri@pis.toba-cmt.ac.jp> diff --git a/editors/muggy/pkg-plist b/editors/muggy/pkg-plist new file mode 100644 index 000000000000..b38803d3651f --- /dev/null +++ b/editors/muggy/pkg-plist @@ -0,0 +1,58 @@ +JDE/Muggy/bin/Muggy.app +@comment JDE/Muggy/bin/PrefMuggy.app +JDE/Muggy/contrib/textundo-1.0-hacked_for_8.0.tar.gz +JDE/Muggy/defaults/Muggy +JDE/Muggy/docs/CHANGES +JDE/Muggy/docs/COPYING +JDE/Muggy/docs/COPYRIGHT +JDE/Muggy/docs/English/INSTALL.tk.en +JDE/Muggy/docs/English/README.en +JDE/Muggy/docs/Japanese/INSTALL.tk.ja +JDE/Muggy/docs/Japanese/INSTALL.tk.sjis +JDE/Muggy/docs/Japanese/README.ja +JDE/Muggy/docs/Japanese/README.sjis +JDE/Muggy/docs/Muggy.logo.xpm +JDE/Muggy/icn/Muggy.about.gif +JDE/Muggy/icn/Muggy.arLeft.gif +JDE/Muggy/icn/Muggy.arRight.gif +JDE/Muggy/icn/Muggy.edit.gif +JDE/Muggy/icn/Muggy.file.gif +JDE/Muggy/icn/Muggy.find.gif +JDE/Muggy/icn/Muggy.html.gif +JDE/Muggy/icn/Muggy.logo.gif +JDE/Muggy/icn/Muggy.view.gif +JDE/Muggy/icn/Pref.en.gif +JDE/Muggy/icn/Pref.ja.gif +JDE/Muggy/icn/mugg.copy.gif +JDE/Muggy/icn/mugg.cut.gif +JDE/Muggy/icn/mugg.find.gif +JDE/Muggy/icn/mugg.gball.gif +JDE/Muggy/icn/mugg.load.gif +JDE/Muggy/icn/mugg.paste.gif +JDE/Muggy/icn/mugg.rball.gif +JDE/Muggy/icn/mugg.save.gif +JDE/Muggy/install.sh +JDE/Muggy/menu/menu.en +JDE/Muggy/menu/menu.ja +JDE/Muggy/modules/FontMaker.m +JDE/Muggy/modules/PrefMuggy.m +JDE/Muggy/modules/Search.m +JDE/Muggy/modules/Undo.m/demo.tcl +JDE/Muggy/modules/Undo.m/lifo.tcl +JDE/Muggy/modules/Undo.m/new.tcl +JDE/Muggy/modules/Undo.m/textundo.tcl +@comment JDE/Muggy/test +bin/Muggy.app +@comment bin/PrefMuggy.app +%%PIXMAP_PATH%%/Muggy.xpm +@dirrm JDE/Muggy/bin +@dirrm JDE/Muggy/contrib +@dirrm JDE/Muggy/defaults +@dirrm JDE/Muggy/docs/English +@dirrm JDE/Muggy/docs/Japanese +@dirrm JDE/Muggy/docs +@dirrm JDE/Muggy/icn +@dirrm JDE/Muggy/menu +@dirrm JDE/Muggy/modules/Undo.m +@dirrm JDE/Muggy/modules +@dirrm JDE/Muggy diff --git a/editors/muggy/scripts/post-install b/editors/muggy/scripts/post-install new file mode 100644 index 000000000000..0c4682353cb0 --- /dev/null +++ b/editors/muggy/scripts/post-install @@ -0,0 +1,30 @@ +#!/bin/sh + +installdir=${PREFIX}/JDE/Muggy; export installdir + +case ${LANGUAGE} in + Japanese) + for f in Muggy.app; do + ${PERL} -pi -e ' + s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ + ' ${installdir}/bin/${f} + done + ;; + *) + ;; +esac +for f in Muggy Muggy.app; do + case ${f} in + Muggy.app|PrefMuggy.app) + target=${installdir}/bin/${f} + ;; + Muggy) + target=${installdir}/defaults/${f} + ;; + esac + ${PERL} -pi -e ' + s@^([ \t]*set[ \t]+Jlib[ \t]+)"[^"]*"$@$1"$ENV{installdir}/"@; + ' ${target} +done + +${LN} -sf ${installdir}/bin/Muggy.app ${PREFIX}/bin |