aboutsummaryrefslogtreecommitdiffstats
path: root/editors/setedit
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-08 03:39:57 +0800
committerpav <pav@FreeBSD.org>2005-10-08 03:39:57 +0800
commit8608f5d40f437bfc149629f0b98f82c1b89df5a7 (patch)
tree6fec3caeee5a927b0e499aa21a0b916923fdeeb0 /editors/setedit
parent19ab7b393ae0ef25b319a6f46b3e4535de3f326e (diff)
downloadfreebsd-ports-gnome-8608f5d40f437bfc149629f0b98f82c1b89df5a7.tar.gz
freebsd-ports-gnome-8608f5d40f437bfc149629f0b98f82c1b89df5a7.tar.zst
freebsd-ports-gnome-8608f5d40f437bfc149629f0b98f82c1b89df5a7.zip
SETEdit is a friendly text editor.
It is a text mode application with windows, buttons, mouse support, etc. The main target of the project are programmers so the editor is mainly oriented to programming. PR: ports/86751 Submitted by: Sten Feldman <exile@chamber.ee>
Diffstat (limited to 'editors/setedit')
-rw-r--r--editors/setedit/Makefile176
-rw-r--r--editors/setedit/distinfo2
-rw-r--r--editors/setedit/files/patch-editmain.cc27
-rw-r--r--editors/setedit/pkg-descr7
-rw-r--r--editors/setedit/pkg-plist79
5 files changed, 291 insertions, 0 deletions
diff --git a/editors/setedit/Makefile b/editors/setedit/Makefile
new file mode 100644
index 000000000000..7f131ecefe71
--- /dev/null
+++ b/editors/setedit/Makefile
@@ -0,0 +1,176 @@
+# New ports collection makefile for: setedit
+# Date created: 29 September 2005
+# Whom: Sten Feldman
+#
+# $FreeBSD$
+
+PORTNAME= setedit
+PORTVERSION= 0.5.4
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= setedit
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= exile@chamber.ee
+COMMENT= Programmer's editor with a nice Text User Interface (TUI)
+
+LIB_DEPENDS= rhtv.2:${PORTSDIR}/devel/rhtvision
+
+HAS_CONFIGURE= yes
+USE_PERL5_BUILD=yes
+USE_GMAKE= yes
+
+MAN1= setedit.1 infview.1
+INFO= setedit sdg infview
+
+OPTIONS= BZIP2 "Support for bzip2" On \
+ CALC "Enable internal calculator" On \
+ CALENDAR "Enable internal calendar" On \
+ NLS "International support (requires intl)" On \
+ AALIB "Support for AAlib" Off \
+ ELECTRIC "Compile with Electric Fence memory debugger" Off
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+CONFIGURE_ARGS= --prefix=${PREFIX} --without-mp3
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_BZIP2)
+CONFIGURE_ARGS+= --no-bzip2
+.else
+CONFIGURE_ARGS+= --bzip2
+.endif
+
+.if defined(WITHOUT_CALC)
+CONFIGURE_ARGS+= --without-calc
+.endif
+
+.if defined(WITHOUT_CALENDAR)
+CONFIGURE_ARGS+= --without-calendar
+.endif
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --no-intl
+.else
+USE_GETTEXT= yes
+PLIST_FILES= share/locale/es/LC_MESSAGES/setedit.mo \
+ share/locale/de/LC_MESSAGES/setedit.mo
+.endif
+
+.if defined(WITH_AALIB)
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+CONFIGURE_ARGS+= --with-aa
+.else
+CONFIGURE_ARGS+= --without-aa
+.endif
+
+.if defined(WITH_ELECTRIC)
+LIB_DEPENDS+= efence.0:${PORTSDIR}/devel/ElectricFence
+CONFIGURE_ARGS+= --with-efence
+.endif
+
+post-build:
+ @${ECHO_CMD} "Packing documentation..."
+ @cd ${WRKSRC}/doc ; \
+ ${CP} editor.inf setedit.info ; \
+ ${CP} sdg.inf sdg.info ; \
+ ${CP} infeng.inf infview.info ; \
+ ${CP} editor.txt setedit.txt ; ${GZIP_CMD} setedit.txt ; \
+ ${CP} infeng.txt infview.txt ; ${GZIP_CMD} infview.txt ; \
+ ${CP} setedit.man setedit.1 ; \
+ ${CP} infview.man infview.1 ; \
+ ${GZIP_CMD} sdg.txt
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @${MKDIR} ${DATADIR}/eterm
+ @${MKDIR} ${DATADIR}/eterm/Setedit
+ ${INSTALL_PROGRAM} ${WRKSRC}/makes/editor.exe ${PREFIX}/bin/setedit
+ ${INSTALL_PROGRAM} ${WRKSRC}/makes/infview.exe ${PREFIX}/bin/infview
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/eterm/Setedit/MAIN ${DATADIR}/eterm/Setedit
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/eterm/Setedit/Setedit.menu ${DATADIR}/eterm/Setedit
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/eterm/readme.txt ${DATADIR}/eterm
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/eterm/xterm-eterm-tv ${DATADIR}/eterm
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/asm51.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/clippmac.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/cpmacros.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/htmlmac.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/perlmac.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/pmacros.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/wmlmac.pmc ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/syntaxhl.shl ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/editor.tip ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/simple.tip ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/BTerminus.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/Terminus.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/XFont.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/antique.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/boxround.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/cntdown.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/medieval.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/ocr.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/roman.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/rombios.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/thin.sft ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/txhgen-i.htm ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/txhgen-i.txi ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/txhgen-i.txt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/html.frt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/multi.frt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sdg/tex.frt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/menubind.smn ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/redmond.smn ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/examples.slp ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/macros.slp ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/cfgfiles/errors.cle ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/readme.1st ${DATADIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ${MAN1} ${MANPREFIX}/man/man1
+.if !defined(WITHOUT_NLS)
+ ${INSTALL_DATA} ${WRKSRC}/internac/es.mo ${PREFIX}/share/locale/es/LC_MESSAGES/setedit.mo
+ ${INSTALL_DATA} ${WRKSRC}/internac/de.mo ${PREFIX}/share/locale/de/LC_MESSAGES/setedit.mo
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/examples
+ @${MKDIR} ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/distrib/examples/tvrc ${DOCSDIR}/examples
+ ${INSTALL_DATA} ${WRKSRC}/distrib/examples/examp1.dst ${DOCSDIR}/examples
+ ${INSTALL_DATA} ${WRKSRC}/distrib/examples/examp1.epr ${DOCSDIR}/examples
+ ${INSTALL_DATA} ${WRKSRC}/distrib/examples/test1.cc ${DOCSDIR}/examples
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/a_project.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/advice_tags.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/class_child1.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/class_list.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/generate_tags.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/jump_symbol.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/project_name.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/project_open.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/sorted.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/symbols_example.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/tag_options.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/tag_options_d.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/this_and_parents.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/this_class.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tag_imgs/w_completion.png ${DOCSDIR}/tag_imgs
+ ${INSTALL_DATA} ${WRKSRC}/copyrigh ${DOCSDIR}/copyright
+ ${INSTALL_DATA} ${WRKSRC}/copying.dj ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/copying.gpl ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/copying.lgp ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/copying.rh ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/www-site/tags.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/www-site/my_file1.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/www-site/my_file2.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/www-site/my_file3.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/www-site/examples.css ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/readme.1st ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/distrib/linux.faq ${DOCSDIR}/faq.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/setedit.txt.gz ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/sdg.txt.gz ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/infview.txt.gz ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/setedit.info ${PREFIX}/info
+ ${INSTALL_DATA} ${WRKSRC}/doc/sdg.info ${PREFIX}/info
+ ${INSTALL_DATA} ${WRKSRC}/doc/infview.info ${PREFIX}/info
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/setedit/distinfo b/editors/setedit/distinfo
new file mode 100644
index 000000000000..f6bd47547e18
--- /dev/null
+++ b/editors/setedit/distinfo
@@ -0,0 +1,2 @@
+MD5 (setedit-0.5.4.tar.gz) = fc2f9724f11965fbd11475ff9235eaa0
+SIZE (setedit-0.5.4.tar.gz) = 2284834
diff --git a/editors/setedit/files/patch-editmain.cc b/editors/setedit/files/patch-editmain.cc
new file mode 100644
index 000000000000..23dd415ca296
--- /dev/null
+++ b/editors/setedit/files/patch-editmain.cc
@@ -0,0 +1,27 @@
+*** setedit/editmain.cc.orig Thu Sep 29 15:51:43 2005
+--- setedit/editmain.cc Thu Sep 29 16:03:36 2005
+***************
+*** 2299,2320 ****
+ else
+ if (Clock)
+ KillClock();
+-
+- if (UseScreenSaver && TScreen::useScreenSaver())
+- {
+- int seconds=inIdleTime/clockResolution;
+- if (seconds==screenSaverTimeMouse)
+- {
+- MouseEventType me;
+- TMouse::getEvent(me);
+- TRect r=deskTop->getExtent();
+- if (me.where.x==r.b.x-1 && me.where.y==0)
+- screenSaver();
+- }
+- else
+- if (seconds>=screenSaverTime)
+- screenSaver();
+- }
+ }
+
+
+--- 2299,2304 ----
diff --git a/editors/setedit/pkg-descr b/editors/setedit/pkg-descr
new file mode 100644
index 000000000000..fdea60c25d63
--- /dev/null
+++ b/editors/setedit/pkg-descr
@@ -0,0 +1,7 @@
+SETEdit is a friendly text editor.
+
+It is a text mode application with windows, buttons, mouse support, etc. The
+main target of the project are programmers so the editor is mainly oriented to
+programming.
+
+WWW: http://setedit.sourceforge.net
diff --git a/editors/setedit/pkg-plist b/editors/setedit/pkg-plist
new file mode 100644
index 000000000000..cd90f5425709
--- /dev/null
+++ b/editors/setedit/pkg-plist
@@ -0,0 +1,79 @@
+bin/setedit
+bin/infview
+%%DATADIR%%/eterm/Setedit/MAIN
+%%DATADIR%%/eterm/Setedit/Setedit.menu
+%%DATADIR%%/eterm/readme.txt
+%%DATADIR%%/eterm/xterm-eterm-tv
+%%DATADIR%%/asm51.pmc
+%%DATADIR%%/clippmac.pmc
+%%DATADIR%%/cpmacros.pmc
+%%DATADIR%%/htmlmac.pmc
+%%DATADIR%%/perlmac.pmc
+%%DATADIR%%/pmacros.pmc
+%%DATADIR%%/wmlmac.pmc
+%%DATADIR%%/syntaxhl.shl
+%%DATADIR%%/editor.tip
+%%DATADIR%%/simple.tip
+%%DATADIR%%/BTerminus.sft
+%%DATADIR%%/Terminus.sft
+%%DATADIR%%/XFont.sft
+%%DATADIR%%/antique.sft
+%%DATADIR%%/boxround.sft
+%%DATADIR%%/cntdown.sft
+%%DATADIR%%/medieval.sft
+%%DATADIR%%/ocr.sft
+%%DATADIR%%/roman.sft
+%%DATADIR%%/rombios.sft
+%%DATADIR%%/thin.sft
+%%DATADIR%%/txhgen-i.htm
+%%DATADIR%%/txhgen-i.txi
+%%DATADIR%%/txhgen-i.txt
+%%DATADIR%%/html.frt
+%%DATADIR%%/multi.frt
+%%DATADIR%%/tex.frt
+%%DATADIR%%/menubind.smn
+%%DATADIR%%/redmond.smn
+%%DATADIR%%/examples.slp
+%%DATADIR%%/macros.slp
+%%DATADIR%%/errors.cle
+%%DATADIR%%/readme.1st
+@dirrm %%DATADIR%%/eterm/Setedit
+@dirrm %%DATADIR%%/eterm
+@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/examples/tvrc
+%%PORTDOCS%%%%DOCSDIR%%/examples/examp1.dst
+%%PORTDOCS%%%%DOCSDIR%%/examples/examp1.epr
+%%PORTDOCS%%%%DOCSDIR%%/examples/test1.cc
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/a_project.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/advice_tags.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/class_child1.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/class_list.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/generate_tags.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/jump_symbol.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/project_name.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/project_open.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/sorted.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/symbols_example.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/tag_options.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/tag_options_d.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/this_and_parents.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/this_class.png
+%%PORTDOCS%%%%DOCSDIR%%/tag_imgs/w_completion.png
+%%PORTDOCS%%%%DOCSDIR%%/copyright
+%%PORTDOCS%%%%DOCSDIR%%/setedit.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/sdg.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/infview.txt.gz
+%%PORTDOCS%%%%DOCSDIR%%/copying.dj
+%%PORTDOCS%%%%DOCSDIR%%/copying.gpl
+%%PORTDOCS%%%%DOCSDIR%%/copying.lgp
+%%PORTDOCS%%%%DOCSDIR%%/copying.rh
+%%PORTDOCS%%%%DOCSDIR%%/tags.html
+%%PORTDOCS%%%%DOCSDIR%%/my_file1.html
+%%PORTDOCS%%%%DOCSDIR%%/my_file2.html
+%%PORTDOCS%%%%DOCSDIR%%/my_file3.html
+%%PORTDOCS%%%%DOCSDIR%%/examples.css
+%%PORTDOCS%%%%DOCSDIR%%/readme.1st
+%%PORTDOCS%%%%DOCSDIR%%/faq.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tag_imgs
+%%PORTDOCS%%@dirrm %%DOCSDIR%%