aboutsummaryrefslogtreecommitdiffstats
path: root/editors/yzis
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-05-29 17:24:46 +0800
committermiwi <miwi@FreeBSD.org>2008-05-29 17:24:46 +0800
commitcb2ace8acbef8aa393661beb426ba85c998c82a2 (patch)
tree69d46880e3cf40296a70ca035e00c8cc0a46cf13 /editors/yzis
parenta12258e1c6ca2cbd981cde59c54ef86317cff13e (diff)
downloadfreebsd-ports-gnome-cb2ace8acbef8aa393661beb426ba85c998c82a2.tar.gz
freebsd-ports-gnome-cb2ace8acbef8aa393661beb426ba85c998c82a2.tar.zst
freebsd-ports-gnome-cb2ace8acbef8aa393661beb426ba85c998c82a2.zip
Yzis a vi-like editor inspired by Vim.
It aims to be a powerful, fast editor with all of Vim's features and hopefully, at some point, more. WWW: http://www.yzis.org PR: ports/123907 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com>
Diffstat (limited to 'editors/yzis')
-rw-r--r--editors/yzis/Makefile70
-rw-r--r--editors/yzis/distinfo3
-rw-r--r--editors/yzis/files/patch-kyzis-src-viewwidget.h13
-rw-r--r--editors/yzis/files/patch-libyzis-linesearch.h11
-rw-r--r--editors/yzis/pkg-descr6
-rw-r--r--editors/yzis/pkg-plist173
6 files changed, 276 insertions, 0 deletions
diff --git a/editors/yzis/Makefile b/editors/yzis/Makefile
new file mode 100644
index 000000000000..004bf3c80395
--- /dev/null
+++ b/editors/yzis/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: yzis
+# Date created: Tue May 20 19:00:00 UTC 2008
+# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= yzis
+PORTVERSION= 0.3
+CATEGORIES= editors
+MASTER_SITES= http://yzis.org.free.fr/releases/ \
+ http://contribs.martymac.com/FreeBSD-ports/distfiles/
+DISTNAME= ${PORTNAME}-M3
+
+MAINTAINER= ganael.laplanche@martymac.com
+COMMENT= Vi-like editor
+
+LIB_DEPENDS= audio:${PORTSDIR}/audio/nas \
+ expat:${PORTSDIR}/textproc/expat2 \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ lcms:${PORTSDIR}/graphics/lcms \
+ mng:${PORTSDIR}/graphics/libmng \
+ png:${PORTSDIR}/graphics/png \
+ tiff:${PORTSDIR}/graphics/tiff \
+ ungif:${PORTSDIR}/graphics/libungif \
+ ps:${PORTSDIR}/print/pslib
+BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
+ doxygen:${PORTSDIR}/devel/doxygen
+
+USE_BZIP2= yes
+USE_FAM= yes
+USE_FREETYPE= yes
+USE_GETTEXT= yes
+USE_ICONV= yes
+USE_LUA= 5.0
+LUA_COMPS= lua
+USE_KDELIBS_VER= 3
+USE_XORG= xrender xext sm ice x11 xau xdmcp xt xi \
+ xrandr xcursor xinerama xft xfixes
+
+USE_AUTOTOOLS= libtool:15
+USE_GMAKE= yes
+CPPFLAGS= -I${LOCALBASE}/include -I${LUA_INCDIR}
+LDFLAGS= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ F77="${F77}" FFLAGS="${FFLAGS}"
+CONFIGURE_ARGS= --with-lua-includes=${LUA_INCDIR} \
+ --with-lua-libraries=${LUA_LIBDIR}
+GNU_CONFIGURE= yes
+
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+OPTIONS= NCURSES "Build nyzis (ncurses frontend - buggy)" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_NCURSES)
+CONFIGURE_ARGS+= --enable-nyzis
+PLIST_SUB+= PL_NCURSES=""
+# Define_XOPEN_SOURCE_EXTENDED for ncurses/widec support
+CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
+.else
+CONFIGURE_ARGS+= --disable-nyzis
+PLIST_SUB+= PL_NCURSES="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/editors/yzis/distinfo b/editors/yzis/distinfo
new file mode 100644
index 000000000000..e886da2dc6af
--- /dev/null
+++ b/editors/yzis/distinfo
@@ -0,0 +1,3 @@
+MD5 (yzis-M3.tar.bz2) = 7e2d41776aa419a2bfe10ec6e69cf767
+SHA256 (yzis-M3.tar.bz2) = ac4e823d4c22ed4c2a874b7a111b5140a81529832fe782fc42e7496a3b0c553f
+SIZE (yzis-M3.tar.bz2) = 1471682
diff --git a/editors/yzis/files/patch-kyzis-src-viewwidget.h b/editors/yzis/files/patch-kyzis-src-viewwidget.h
new file mode 100644
index 000000000000..dc538759997e
--- /dev/null
+++ b/editors/yzis/files/patch-kyzis-src-viewwidget.h
@@ -0,0 +1,13 @@
+--- kyzis/src/viewwidget.h.orig 2008-05-18 18:52:01.119247190 +0200
++++ kyzis/src/viewwidget.h 2008-05-18 18:52:14.123333743 +0200
+@@ -77,8 +77,8 @@
+ */
+ void setkid( int kId ) { mkId = kId; }
+
+- void KYZisView::wheelEvent( QWheelEvent * e );
+- void KYZisView::contextMenuEvent( QContextMenuEvent * e );
++ void wheelEvent( QWheelEvent * e );
++ void contextMenuEvent( QContextMenuEvent * e );
+
+ /**
+ * @internal
diff --git a/editors/yzis/files/patch-libyzis-linesearch.h b/editors/yzis/files/patch-libyzis-linesearch.h
new file mode 100644
index 000000000000..5510839ec251
--- /dev/null
+++ b/editors/yzis/files/patch-libyzis-linesearch.h
@@ -0,0 +1,11 @@
+--- libyzis/linesearch.h.orig 2008-05-18 18:47:35.318978999 +0200
++++ libyzis/linesearch.h 2008-05-18 18:47:47.858303411 +0200
+@@ -70,7 +70,7 @@
+ /**
+ * Searches for previously searched character in opposite direction
+ */
+- YZCursor YZLineSearch::searchAgainOpposite( bool &found, unsigned int times );
++ YZCursor searchAgainOpposite( bool &found, unsigned int times );
+
+ /**
+ * Defines types of searches for history
diff --git a/editors/yzis/pkg-descr b/editors/yzis/pkg-descr
new file mode 100644
index 000000000000..05ad0b27e39c
--- /dev/null
+++ b/editors/yzis/pkg-descr
@@ -0,0 +1,6 @@
+Yzis a vi-like editor inspired by Vim.
+
+It aims to be a powerful, fast editor with all of Vim's
+features and hopefully, at some point, more.
+
+WWW: http://www.yzis.org
diff --git a/editors/yzis/pkg-plist b/editors/yzis/pkg-plist
new file mode 100644
index 000000000000..bb6b810cf1a5
--- /dev/null
+++ b/editors/yzis/pkg-plist
@@ -0,0 +1,173 @@
+bin/kyzis
+%%PL_NCURSES%%bin/yz
+%%PL_NCURSES%%bin/yzis
+lib/libqtyzis.la
+lib/libqtyzis.so
+lib/libqtyzis.so.0
+lib/libqtyzis.a
+lib/kde3/libkyzispart.so
+lib/kde3/libkyzispart.la
+lib/kde3/libkyzispart.a
+@dirrmtry lib/kde3
+share/services/kyzispart.desktop
+@dirrmtry share/services
+share/apps/kyzis/kyzis_shell.rc
+@dirrm share/apps/kyzis
+share/apps/kyzispart/kyzispart.rc
+@dirrm share/apps/kyzispart
+@dirrmtry share/apps
+share/config.kcfg/kyzis.kcfg
+@dirrmtry share/config.kcfg
+share/icons/crystalsvg/16x16/apps/kyzis.png
+@dirrmtry share/icons/crystalsvg/16x16/apps
+@dirrmtry share/icons/crystalsvg/16x16
+share/icons/crystalsvg/32x32/apps/kyzis.png
+@dirrmtry share/icons/crystalsvg/32x32/apps
+@dirrmtry share/icons/crystalsvg/32x32
+share/icons/crystalsvg/128x128/apps/kyzis.png
+@dirrmtry share/icons/crystalsvg/128x128/apps
+@dirrmtry share/icons/crystalsvg/128x128
+share/icons/crystalsvg/64x64/apps/kyzis.png
+@dirrmtry share/icons/crystalsvg/64x64/apps
+@dirrmtry share/icons/crystalsvg/64x64
+@dirrmtry share/icons/crystalsvg
+@dirrmtry share/icons
+share/applnk/Editors/kyzis.desktop
+@dirrmtry share/applnk/Editors
+@dirrmtry share/applnk
+share/locale/de/LC_MESSAGES/yzis.mo
+share/locale/es/LC_MESSAGES/yzis.mo
+share/locale/fr/LC_MESSAGES/yzis.mo
+share/locale/nl/LC_MESSAGES/yzis.mo
+share/locale/no/LC_MESSAGES/yzis.mo
+share/locale/pl/LC_MESSAGES/yzis.mo
+share/locale/pt/LC_MESSAGES/yzis.mo
+share/yzis/scripts/indent/python.lua
+share/yzis/scripts/indent/cpp.lua
+share/yzis/scripts/2html.lua
+share/yzis/scripts/clevertab.lua
+share/yzis/magic.mime
+share/yzis/syntax/ferite.xml
+share/yzis/syntax/mason.xml
+share/yzis/syntax/e.xml
+share/yzis/syntax/xslt.xml
+share/yzis/syntax/python.xml
+share/yzis/syntax/euphoria.xml
+share/yzis/syntax/inform.xml
+share/yzis/syntax/css-php.xml
+share/yzis/syntax/mup.xml
+share/yzis/syntax/sql-mysql.xml
+share/yzis/syntax/mips.xml
+share/yzis/syntax/javascript-php.xml
+share/yzis/syntax/sather.xml
+share/yzis/syntax/alert.xml
+share/yzis/syntax/lpc.xml
+share/yzis/syntax/scheme.xml
+share/yzis/syntax/rexx.xml
+share/yzis/syntax/bash.xml
+share/yzis/syntax/modula-2.xml
+share/yzis/syntax/pascal.xml
+share/yzis/syntax/coldfusion.xml
+share/yzis/syntax/commonlisp.xml
+share/yzis/syntax/progress.xml
+share/yzis/syntax/yacas.xml
+share/yzis/syntax/lex.xml
+share/yzis/syntax/cisco.xml
+share/yzis/syntax/jsp.xml
+share/yzis/syntax/verilog.xml
+share/yzis/syntax/yacc.xml
+share/yzis/syntax/cpp.xml
+share/yzis/syntax/matlab.xml
+share/yzis/syntax/eiffel.xml
+share/yzis/syntax/idconsole.xml
+share/yzis/syntax/ahdl.xml
+share/yzis/syntax/xmldebug.xml
+share/yzis/syntax/makefile.xml
+share/yzis/syntax/glsl.xml
+share/yzis/syntax/syntax.template
+share/yzis/syntax/ocaml.xml
+share/yzis/syntax/desktop.xml
+share/yzis/syntax/vrml.xml
+share/yzis/syntax/cue.xml
+share/yzis/syntax/lilypond.xml
+share/yzis/syntax/winehq.xml
+share/yzis/syntax/doxygen.xml
+share/yzis/syntax/kbasic.xml
+share/yzis/syntax/mab.xml
+share/yzis/syntax/c.xml
+share/yzis/syntax/xml.xml
+share/yzis/syntax/d.xml
+share/yzis/syntax/vhdl.xml
+share/yzis/syntax/literate-haskell.xml
+share/yzis/syntax/ruby.xml
+share/yzis/syntax/language.dtd
+share/yzis/syntax/spice.xml
+share/yzis/syntax/cmake.xml
+share/yzis/syntax/postscript.xml
+share/yzis/syntax/nasm.xml
+share/yzis/syntax/css.xml
+share/yzis/syntax/asm6502.xml
+share/yzis/syntax/asm-avr.xml
+share/yzis/syntax/changelog.xml
+share/yzis/syntax/pike.xml
+share/yzis/syntax/tibasic.xml
+share/yzis/syntax/rib.xml
+share/yzis/syntax/cg.xml
+share/yzis/syntax/xharbour.xml
+share/yzis/syntax/debiancontrol.xml
+share/yzis/syntax/uscript.xml
+share/yzis/syntax/logtalk.xml
+share/yzis/syntax/picsrc.xml
+share/yzis/syntax/velocity.xml
+share/yzis/syntax/latex.xml
+share/yzis/syntax/gnuassembler.xml
+share/yzis/syntax/txt2tags.xml
+share/yzis/syntax/octave.xml
+share/yzis/syntax/perl.xml
+share/yzis/syntax/sieve.xml
+share/yzis/syntax/fortran.xml
+share/yzis/syntax/idl.xml
+share/yzis/syntax/ilerpg.xml
+share/yzis/syntax/r.xml
+share/yzis/syntax/abc.xml
+share/yzis/syntax/tcl.xml
+share/yzis/syntax/cgis.xml
+share/yzis/syntax/stata.xml
+share/yzis/syntax/php.xml
+share/yzis/syntax/bibtex.xml
+share/yzis/syntax/objectivec.xml
+share/yzis/syntax/sml.xml
+share/yzis/syntax/html-php.xml
+share/yzis/syntax/purebasic.xml
+share/yzis/syntax/gettext.xml
+share/yzis/syntax/ada.xml
+share/yzis/syntax/cs.xml
+share/yzis/syntax/asp.xml
+share/yzis/syntax/javascript.xml
+share/yzis/syntax/sql.xml
+share/yzis/syntax/sql-postgresql.xml
+share/yzis/syntax/html.xml
+share/yzis/syntax/ansic89.xml
+share/yzis/syntax/diff.xml
+share/yzis/syntax/awk.xml
+share/yzis/syntax/lua.xml
+share/yzis/syntax/clipper.xml
+share/yzis/syntax/rsiidl.xml
+share/yzis/syntax/fgl-4gl.xml
+share/yzis/syntax/gdl.xml
+share/yzis/syntax/javadoc.xml
+share/yzis/syntax/component-pascal.xml
+share/yzis/syntax/prolog.xml
+share/yzis/syntax/fgl-per.xml
+share/yzis/syntax/rpmspec.xml
+share/yzis/syntax/sgml.xml
+share/yzis/syntax/povray.xml
+share/yzis/syntax/debianchangelog.xml
+share/yzis/syntax/ldif.xml
+share/yzis/syntax/haskell.xml
+share/yzis/syntax/sci.xml
+share/yzis/syntax/java.xml
+@dirrm share/yzis/syntax
+@dirrm share/yzis/scripts/indent
+@dirrm share/yzis/scripts
+@dirrm share/yzis