diff options
author | will <will@FreeBSD.org> | 2003-11-10 00:35:38 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2003-11-10 00:35:38 +0800 |
commit | 593fbc0b17bd7ce887a591e8c9443b662d8c229a (patch) | |
tree | 81b811e6852863f7820f647387439418704d2ddd /arabic | |
parent | 37682257d5e4c11729de739a083dc83a5a0d3ad3 (diff) | |
download | freebsd-ports-gnome-593fbc0b17bd7ce887a591e8c9443b662d8c229a.tar.gz freebsd-ports-gnome-593fbc0b17bd7ce887a591e8c9443b662d8c229a.tar.zst freebsd-ports-gnome-593fbc0b17bd7ce887a591e8c9443b662d8c229a.zip |
Add katoob 0.3.5, a light-weight, bidirectional editor for arabic
texts.
PR: 57511
Submitted by: Pav Lucistnik <pav@oook.cz> through
Samy Al Bahra <samy@kerneled.com> (maintainer)
Diffstat (limited to 'arabic')
-rw-r--r-- | arabic/Makefile | 1 | ||||
-rw-r--r-- | arabic/katoob/Makefile | 38 | ||||
-rw-r--r-- | arabic/katoob/distinfo | 1 | ||||
-rw-r--r-- | arabic/katoob/files/patch-src-init.c | 21 | ||||
-rw-r--r-- | arabic/katoob/pkg-descr | 8 | ||||
-rw-r--r-- | arabic/katoob/pkg-plist | 16 |
6 files changed, 85 insertions, 0 deletions
diff --git a/arabic/Makefile b/arabic/Makefile index 7a4d70629097..22452e4a70b7 100644 --- a/arabic/Makefile +++ b/arabic/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ # + SUBDIR += katoob SUBDIR += openoffice-1.1 .include <bsd.port.subdir.mk> diff --git a/arabic/katoob/Makefile b/arabic/katoob/Makefile new file mode 100644 index 000000000000..00442e88ff4b --- /dev/null +++ b/arabic/katoob/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: katoob +# Date created: 13th September 2003 +# Whom: Pav Lucistnik <pav@oook.cz> +# +# $FreeBSD$ +# + +PORTNAME= katoob +PORTVERSION= 0.3.5 +CATEGORIES= arabic +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= arabeyes + +MAINTAINER= samy@kerneled.com +COMMENT= Light-weight, bidirectional editor for arabic texts + +MAN1= katoob.1 + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack gtk20 +USE_LIBTOOL= yes +USE_GETOPT_LONG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +.if defined(WITH_HIGHLIGHTING) || exists(${X11BASE}/libdata/pkgconfig/gtksourceview-1.0.pc) +CONFIGURE_ARGS+= "--enable-highlight" +USE_GNOME+= gtksourceview +.endif + +.if defined(WITH_SPELLCHECKER) || exists(${LOCALBASE}/lib/libaspell.so.15) +CONFIGURE_ARGS+= "--enable-spell" +LIB_DEPENDS+= aspell.15:${PORTSDIR}/textproc/aspell +.endif + +.include <bsd.port.post.mk> diff --git a/arabic/katoob/distinfo b/arabic/katoob/distinfo new file mode 100644 index 000000000000..40527dbaa71d --- /dev/null +++ b/arabic/katoob/distinfo @@ -0,0 +1 @@ +MD5 (katoob-0.3.5.tar.gz) = a05723c7aee914c51226270aa3d61ff9 diff --git a/arabic/katoob/files/patch-src-init.c b/arabic/katoob/files/patch-src-init.c new file mode 100644 index 000000000000..7bff8d0267b9 --- /dev/null +++ b/arabic/katoob/files/patch-src-init.c @@ -0,0 +1,21 @@ +--- src/init.c Tue Aug 26 07:54:35 2003 ++++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003 +@@ -101,7 +101,18 @@ + katoob->xkb_grps[i] = + XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]); + } ++ else ++ { ++ katoob->xkb_grps[i] = NULL; ++ } + } ++ } ++ ++/* Let's NULL all the remaining array. */ ++ while (grpnum < XkbNumKbdGroups) ++ { ++ katoob->xkb_grps[grpnum] = NULL; ++ ++grpnum; + } + + XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo); diff --git a/arabic/katoob/pkg-descr b/arabic/katoob/pkg-descr new file mode 100644 index 000000000000..e1ae573cbe2c --- /dev/null +++ b/arabic/katoob/pkg-descr @@ -0,0 +1,8 @@ +Katoob is a light weight, multi lingual, +BIDI-aware text editor based on the Gtk+ 2 +library. It supports opening and saving files +in multiple encodings. The main support was +for Arabic language but more languages are +currently supported. + +WWW: http://www.arabeyes.org/project.php?proj=Katoob diff --git a/arabic/katoob/pkg-plist b/arabic/katoob/pkg-plist new file mode 100644 index 000000000000..875bec3b7e43 --- /dev/null +++ b/arabic/katoob/pkg-plist @@ -0,0 +1,16 @@ +bin/katoob +share/gnome/applications/katoob.desktop +share/gnome/katoob/close.png +share/gnome/katoob/emulator/arabic +share/gnome/katoob/green.png +share/gnome/katoob/katoob.png +share/gnome/katoob/katoob-small.png +share/gnome/katoob/landscape.png +share/gnome/katoob/portrait.png +share/gnome/katoob/red.png +share/gnome/pixmaps/katoob-icon.png +share/locale/ar/LC_MESSAGES/katoob.mo +share/locale/pl/LC_MESSAGES/katoob.mo +share/locale/sv/LC_MESSAGES/katoob.mo +@dirrm share/gnome/katoob/emulator +@dirrm share/gnome/katoob |