diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-02-01 19:11:20 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-02-01 19:11:20 +0000 |
commit | a84fcabfb4de405ec424c3269c34f2755cfed44f (patch) | |
tree | 7e953dbc095746f78441038da7ec6aa99b45864f | |
parent | e8de8d1ffe86538f134702ffe2f940e9fdd0a217 (diff) | |
download | pkgsrc-a84fcabfb4de405ec424c3269c34f2755cfed44f.tar.gz |
Initial import of devel/wide:
WIDE stands for 'The While IDE', an integrated development environment for the
While programming language.
With WIDE you will be able to:
1. Create and edit While Programs written in standard list concrete syntax,
and a novel textual (string) syntax developed exclusively for WIDE.
2. Compile and Run While Programs.
3. Debug Programs.
4. Easily experiment with meta-programming ideas and concepts.
Wide is licensed under the Eclipse License.
-rw-r--r-- | devel/wide/DESCR | 10 | ||||
-rw-r--r-- | devel/wide/Makefile | 35 | ||||
-rw-r--r-- | devel/wide/PLIST | 170 | ||||
-rw-r--r-- | devel/wide/distinfo | 4 | ||||
-rw-r--r-- | devel/wide/files/wide.in | 31 |
5 files changed, 250 insertions, 0 deletions
diff --git a/devel/wide/DESCR b/devel/wide/DESCR new file mode 100644 index 00000000000..47c08ffbd8e --- /dev/null +++ b/devel/wide/DESCR @@ -0,0 +1,10 @@ +WIDE stands for 'The While IDE', an integrated development environment for the +While programming language. + +With WIDE you will be able to: + + 1. Create and edit While Programs written in standard list concrete syntax, + and a novel textual (string) syntax developed exclusively for WIDE. + 2. Compile and Run While Programs. + 3. Debug Programs. + 4. Easily experiment with meta-programming ideas and concepts. diff --git a/devel/wide/Makefile b/devel/wide/Makefile new file mode 100644 index 00000000000..1e2b5253be5 --- /dev/null +++ b/devel/wide/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/02/01 19:11:20 jschauma Exp $ +# + +DISTNAME= wide +PKGNAME= wide-0.1 +CATEGORIES= lang +MASTER_SITES= http://www2.mta.ac.il/~tal/WIDE/ +EXTRACT_SUFX= .zip + +MAINTAINER= jschauma@NetBSD.org +HOMEPAGE= http://www2.mta.ac.il/~tal/WIDE/ +COMMENT= IDE for the While programming language + +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${DISTNAME:tu} +EXTRACT_CMD_OPTS.zip= -aqo + +LICENSE= eclipse-license + +PKG_JVMS_ACCEPTED= sun-jdk14 sun-jdk15 + +do-configure: + ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/wide.in > ${WRKSRC}/wide + ${RM} -fr ${WRKSRC}/images/Copy* + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/wide + ${INSTALL_DATA_DIR} ${PREFIX}/libexec/wide + ${INSTALL_SCRIPT} ${WRKSRC}/wide ${PREFIX}/bin/wide + cd ${WRKSRC} && ${PAX} -rw Study etc help images *.ini *.xml version.txt \ + ${PREFIX}/share/wide/ + cd ${WRKSRC} && ${PAX} -rw lib ${PREFIX}/libexec/wide/ + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/wide/PLIST b/devel/wide/PLIST new file mode 100644 index 00000000000..918afec5113 --- /dev/null +++ b/devel/wide/PLIST @@ -0,0 +1,170 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/01 19:11:20 jschauma Exp $ +bin/wide +share/wide/Study/AddNumbers.wcl +share/wide/Study/AddNumbers.while +share/wide/Study/Casing.while +share/wide/Study/ID.while +share/wide/Study/ID_while.while +share/wide/Study/ID_while_1.while +share/wide/Study/Loop4Ever.wcl +share/wide/Study/Loop4Ever.while +share/wide/Study/Test1.while +share/wide/Study/fix.wcl +share/wide/Study/fix.while +share/wide/Study/pred.wcl +share/wide/Study/pred.while +share/wide/Study/succ.wcl +share/wide/Study/succ.while +share/wide/etc/syntax.catalog.xml +share/wide/etc/syntax/wcl.xml +share/wide/etc/syntax/wct.xml +share/wide/help/compile.html +share/wide/help/compile.png +share/wide/help/debug.html +share/wide/help/debug_1.png +share/wide/help/debug_2.png +share/wide/help/execution.html +share/wide/help/execution_1.png +share/wide/help/images/compile.png +share/wide/help/images/execute.png +share/wide/help/images/resume.png +share/wide/help/images/runToCursor.png +share/wide/help/images/showCurrentFrame.png +share/wide/help/images/showViewer.png +share/wide/help/images/startDebugger.png +share/wide/help/images/suspend.png +share/wide/help/images/traceOver.png +share/wide/help/ide_debug_pane.png +share/wide/help/ide_options.html +share/wide/help/ide_panes.html +share/wide/help/ide_run.png +share/wide/help/ide_run_suspend.png +share/wide/help/ide_tree.html +share/wide/help/ide_tree2.png +share/wide/help/ide_tree3.png +share/wide/help/lang_cnst.html +share/wide/help/lang_intro.html +share/wide/help/lang_list.html +share/wide/help/lang_string.html +share/wide/help/messages_error.png +share/wide/help/newfile.png +share/wide/help/options/cube.gif +share/wide/help/options/sugars.html +share/wide/help/options/sugars.html.bak +share/wide/help/options/title.png +share/wide/help/options.png +share/wide/help/sp.gif +share/wide/help/wide_intro.html +share/wide/images/action/execute.png +share/wide/images/action/find.png +share/wide/images/action/help.png +share/wide/images/action/replace.png +share/wide/images/action/resume.png +share/wide/images/action/runToCursor.png +share/wide/images/action/showCurrentFrame.png +share/wide/images/action/showViewer.png +share/wide/images/action/startDebugger.png +share/wide/images/action/stepover_co.gif +share/wide/images/action/suspend.png +share/wide/images/action/traceOver.png +share/wide/images/autoscrollToSource.png +share/wide/images/await.gif +share/wide/images/bp.png +share/wide/images/compile.png +share/wide/images/empty.gif +share/wide/images/execution/testError.png +share/wide/images/execution/testInProgress1.png +share/wide/images/execution/testInProgress2.png +share/wide/images/execution/testInProgress3.png +share/wide/images/execution/testInProgress4.png +share/wide/images/execution/testInProgress5.png +share/wide/images/execution/testInProgress6.png +share/wide/images/execution/testInProgress7.png +share/wide/images/execution/testInProgress8.png +share/wide/images/execution/testPassed.png +share/wide/images/execution/testTerminated.png +share/wide/images/fileTypes/list.gif +share/wide/images/fileTypes/text.gif +share/wide/images/fileTypes/unknown.gif +share/wide/images/help.png +share/wide/images/help_window_hide_tabs.gif +share/wide/images/help_window_icon.gif +share/wide/images/help_window_show_tabs.gif +share/wide/images/help_window_tree_closed.gif +share/wide/images/help_window_tree_leaf.gif +share/wide/images/help_window_tree_open.gif +share/wide/images/ide_edit_copy.gif +share/wide/images/ide_edit_cut.gif +share/wide/images/ide_edit_delete.gif +share/wide/images/ide_edit_paste.gif +share/wide/images/ide_edit_redo.gif +share/wide/images/ide_edit_undo.gif +share/wide/images/ide_empty.gif +share/wide/images/ide_help.gif +share/wide/images/ide_new.gif +share/wide/images/ide_open.gif +share/wide/images/ide_print.gif +share/wide/images/ide_save.gif +share/wide/images/ide_save_all.gif +share/wide/images/left.png +share/wide/images/main.png +share/wide/images/mirror_cursor.gif +share/wide/images/msg_error.png +share/wide/images/msg_info.png +share/wide/images/msg_question.png +share/wide/images/msg_warning.png +share/wide/images/open.gif +share/wide/images/prnt/NextPage.gif +share/wide/images/prnt/Orientation.gif +share/wide/images/prnt/PreviousPage.gif +share/wide/images/prnt/Print.gif +share/wide/images/prnt/Reset.gif +share/wide/images/prnt/ScaleIn.gif +share/wide/images/prnt/ScaleOut.gif +share/wide/images/prnt/Setup.gif +share/wide/images/prnt/ZoomIn.gif +share/wide/images/prnt/ZoomOut.gif +share/wide/images/remove.gif +share/wide/images/right.png +share/wide/images/splash.png +share/wide/images/table/sort_asc.gif +share/wide/images/table/sort_desc.gif +share/wide/images/toggleBreakpoint.png +share/wide/images/tool/toolWindowDebugger.png +share/wide/images/tool/toolWindowMessages.png +share/wide/images/tool/toolWindowRun.png +share/wide/images/tree.png +share/wide/images/tree_Closed.gif +share/wide/images/tree_Leaf.gif +share/wide/images/tree_Opened.gif +share/wide/images/tree_fclosed.gif +share/wide/images/tree_fopened.gif +share/wide/images/tree_root.gif +share/wide/images/wcl.bmp +share/wide/images/wct.bmp +share/wide/prefs.ini +share/wide/print.ini +share/wide/project.xml +share/wide/sugars.ini +share/wide/version.txt +share/wide/widehelp.xml +libexec/wide/lib/jide-common.jar +libexec/wide/lib/novaworx.jar +libexec/wide/lib/wide.jar +libexec/wide/lib/widex.jar +@dirrm share/wide/images/tool +@dirrm share/wide/images/table +@dirrm share/wide/images/prnt +@dirrm share/wide/images/fileTypes +@dirrm share/wide/images/execution +@dirrm share/wide/images/action +@dirrm share/wide/images +@dirrm share/wide/help/options +@dirrm share/wide/help/images +@dirrm share/wide/help +@dirrm share/wide/etc/syntax +@dirrm share/wide/etc +@dirrm share/wide/Study +@dirrm share/wide +@dirrm libexec/wide/lib +@dirrm libexec/wide diff --git a/devel/wide/distinfo b/devel/wide/distinfo new file mode 100644 index 00000000000..6d7ed3c3ad1 --- /dev/null +++ b/devel/wide/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/02/01 19:11:20 jschauma Exp $ + +SHA1 (wide.zip) = 1dd8ae8e13bdd104954c301f987345e26c1a6b8c +Size (wide.zip) = 2155839 bytes diff --git a/devel/wide/files/wide.in b/devel/wide/files/wide.in new file mode 100644 index 00000000000..3c67d8d26f8 --- /dev/null +++ b/devel/wide/files/wide.in @@ -0,0 +1,31 @@ +#!/bin/sh +# +# $NetBSD: wide.in,v 1.1.1.1 2005/02/01 19:11:20 jschauma Exp $ + +PREFIX=@PREFIX@ + +WIDE=${HOME}/.wide +LINK_DIRS="etc help images" +COPY_FILES="Study prefs.ini print.ini project.xml sugars.ini widehelp.xml version.txt" + +if [ ! -d ${WIDE} ]; then + echo -n "Setting up 'wide' in ${WIDE} ..." + mkdir ${WIDE} + cd ${WIDE} + for dir in ${LINK_DIRS}; do + ln -s ${PREFIX}/share/wide/${dir} + done + ln -s ${PREFIX}/libexec/wide/lib + cd ${PREFIX}/share/wide/ + for file in ${COPY_FILES}; do + pax -rw ${file} ${WIDE}/ + done + echo " done." +fi + +WIDE_CP=.:${WIDE}/lib/wide.jar:${WIDE}/lib/widex.jar +CLASSPATH=${WIDE_CP}:${WIDE}/lib/novaworx.jar:${WIDE}/lib/jide-common.jar + +export CLASSPATH + +cd ${WIDE} && java whilepack.gui.WhileIDE |