From a53c34fba952f1a8f452054be8a9d71599f43d33 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Mon, 17 Oct 2005 06:40:55 +0000 Subject: [PATCH] Add gedit-autocomplete-plugin. A simple autocomplete plugin for gedit. This plugin autocompletes words when you write words twice or more times in a document. WWW: http://usuarios.lycos.es/acisif/gedit/autocomplete/autocomplete.html PR: ports/87549 Submitted by: Andreas Kohn --- editors/Makefile | 1 + editors/gedit-autocomplete-plugin/Makefile | 29 +++++++++++++++++++ editors/gedit-autocomplete-plugin/distinfo | 2 ++ .../files/patch-makefile | 14 +++++++++ editors/gedit-autocomplete-plugin/pkg-descr | 6 ++++ 5 files changed, 52 insertions(+) create mode 100644 editors/gedit-autocomplete-plugin/Makefile create mode 100644 editors/gedit-autocomplete-plugin/distinfo create mode 100644 editors/gedit-autocomplete-plugin/files/patch-makefile create mode 100644 editors/gedit-autocomplete-plugin/pkg-descr diff --git a/editors/Makefile b/editors/Makefile index 78dc0f9ac46f..3c428d6a2905 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -64,6 +64,7 @@ SUBDIR += fte SUBDIR += gate SUBDIR += gedit + SUBDIR += gedit-autocomplete-plugin SUBDIR += gedit-plugins SUBDIR += ghex SUBDIR += glimmer diff --git a/editors/gedit-autocomplete-plugin/Makefile b/editors/gedit-autocomplete-plugin/Makefile new file mode 100644 index 000000000000..44b6435c37af --- /dev/null +++ b/editors/gedit-autocomplete-plugin/Makefile @@ -0,0 +1,29 @@ +# Ports collection makefile for: gedit-autocomplete-plugin +# Date created: 2005-10-10 +# Whom: Andreas Kohn +# +# $FreeBSD$ +# + +PORTNAME= autocomplete-plugin +PORTVERSION= 3.0 +CATEGORIES= editors +MASTER_SITES= http://usuarios.lycos.es/acisif/gedit/autocomplete/ +PKGNAMEPREFIX= gedit- + +MAINTAINER= andreas@syndrom23.de +COMMENT= A simple autocompletion plugin for gedit + +BUILD_DEPENDS= gedit:${PORTSDIR}/editors/gedit +RUN_DEPENDS= gedit:${PORTSDIR}/editors/gedit + +GEDIT_VERSION= 2.10 + +USE_X_PREFIX= yes +MAKEFILE= makefile +MAKE_ARGS= GEDIT_VERSION=gedit-${GEDIT_VERSION} + +PLIST_FILES= lib/gedit-2/plugins/autocomplete.gedit-plugin \ + lib/gedit-2/plugins/libautocomplete.so + +.include diff --git a/editors/gedit-autocomplete-plugin/distinfo b/editors/gedit-autocomplete-plugin/distinfo new file mode 100644 index 000000000000..1e68b54d7438 --- /dev/null +++ b/editors/gedit-autocomplete-plugin/distinfo @@ -0,0 +1,2 @@ +MD5 (autocomplete-plugin-3.0.tar.gz) = 34e71a3caad1fa29fcaa0a4442406c9a +SIZE (autocomplete-plugin-3.0.tar.gz) = 6187 diff --git a/editors/gedit-autocomplete-plugin/files/patch-makefile b/editors/gedit-autocomplete-plugin/files/patch-makefile new file mode 100644 index 000000000000..dd8312c404c1 --- /dev/null +++ b/editors/gedit-autocomplete-plugin/files/patch-makefile @@ -0,0 +1,14 @@ +--- makefile.orig Sun Sep 12 16:11:44 2004 ++++ makefile Mon Oct 17 08:06:34 2005 +@@ -2,8 +2,8 @@ + GEDIT_VERSION=gedit-2.4 + + all: +- gcc -march=i686 -O3 -s -Wall -fPIC -shared `pkg-config $(GEDIT_VERSION) --libs --cflags` *.c -o libautocomplete.so ++ $(CC) $(CFLAGS) -Wall -fPIC -shared `pkg-config $(GEDIT_VERSION) --libs --cflags` *.c -o libautocomplete.so + + install: +- cp libautocomplete.so /usr/lib/gedit-2/plugins/ +- cp autocomplete.gedit-plugin /usr/lib/gedit-2/plugins/ ++ $(BSD_INSTALL_PROGRAM) libautocomplete.so $(PREFIX)/lib/gedit-2/plugins/ ++ $(BSD_INSTALL_DATA) autocomplete.gedit-plugin $(PREFIX)/lib/gedit-2/plugins/ diff --git a/editors/gedit-autocomplete-plugin/pkg-descr b/editors/gedit-autocomplete-plugin/pkg-descr new file mode 100644 index 000000000000..9658c2c0a0d7 --- /dev/null +++ b/editors/gedit-autocomplete-plugin/pkg-descr @@ -0,0 +1,6 @@ +A simple autocomplete plugin for gedit. + +This plugin autocompletes words when you write words twice or more times +in a document. + +WWW: http://usuarios.lycos.es/acisif/gedit/autocomplete/autocomplete.html