aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-10-17 14:40:55 +0800
committerjylefort <jylefort@FreeBSD.org>2005-10-17 14:40:55 +0800
commit0dbca1f9d459673239cf43f134dee2ebc1061903 (patch)
treef17081b79bc2789339027c3741ae291e2d897fcc /editors
parent221c9a671340984f2267c4815b15f89e3a48c239 (diff)
downloadfreebsd-ports-gnome-0dbca1f9d459673239cf43f134dee2ebc1061903.tar.gz
freebsd-ports-gnome-0dbca1f9d459673239cf43f134dee2ebc1061903.tar.zst
freebsd-ports-gnome-0dbca1f9d459673239cf43f134dee2ebc1061903.zip
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 <andreas@syndrom23.de>
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/gedit-autocomplete-plugin/Makefile29
-rw-r--r--editors/gedit-autocomplete-plugin/distinfo2
-rw-r--r--editors/gedit-autocomplete-plugin/files/patch-makefile14
-rw-r--r--editors/gedit-autocomplete-plugin/pkg-descr6
5 files changed, 52 insertions, 0 deletions
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 <andreas@syndrom23.de>
+#
+# $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 <bsd.port.mk>
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