aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-08-16 01:01:02 +0800
committermezz <mezz@FreeBSD.org>2004-08-16 01:01:02 +0800
commit08ae776e81f71be821951ac1615673fe71312649 (patch)
treeca7884be0343a47655a5dd3b902fa1cb9d793e21
parent23e5986cf7fc82d48a56d4e6c68dfc037ca39a03 (diff)
downloadfreebsd-ports-gnome-08ae776e81f71be821951ac1615673fe71312649.tar.gz
freebsd-ports-gnome-08ae776e81f71be821951ac1615673fe71312649.tar.zst
freebsd-ports-gnome-08ae776e81f71be821951ac1615673fe71312649.zip
Ruby/GtkSourceView is a Ruby binding of gtksourceview-1.0.x.
WWW: http://ruby-gnome2.sourceforge.jp/
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/ruby-gtksourceview/Makefile43
-rw-r--r--x11-toolkits/ruby-gtksourceview/pkg-descr3
-rw-r--r--x11-toolkits/ruby-gtksourceview/pkg-plist9
4 files changed, 56 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index eb29c8353bb7..4fcbae1a17c1 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -165,6 +165,7 @@
SUBDIR += ruby-gtk
SUBDIR += ruby-gtk2
SUBDIR += ruby-gtkglext
+ SUBDIR += ruby-gtksourceview
SUBDIR += ruby-pango
SUBDIR += ruby-tk
SUBDIR += scintilla
diff --git a/x11-toolkits/ruby-gtksourceview/Makefile b/x11-toolkits/ruby-gtksourceview/Makefile
new file mode 100644
index 000000000000..58851affda2f
--- /dev/null
+++ b/x11-toolkits/ruby-gtksourceview/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Ruby/GtkSourceView
+# Date created: 15 August 2004
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtksourceview
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= x11-toolkits gnome ruby
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mezz@FreeBSD.org
+COMMENT= Ruby binding for GtkSourceView
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
+
+USE_RUBY= yes
+USE_GNOME= gtksourceview
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/gtksourceview
+INSTALL_TARGET= site-install
+
+DOCS= COPYING.LIB ChangeLog README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-gtksourceview/pkg-descr b/x11-toolkits/ruby-gtksourceview/pkg-descr
new file mode 100644
index 000000000000..3a1272917e34
--- /dev/null
+++ b/x11-toolkits/ruby-gtksourceview/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GtkSourceView is a Ruby binding of gtksourceview-1.0.x.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/x11-toolkits/ruby-gtksourceview/pkg-plist b/x11-toolkits/ruby-gtksourceview/pkg-plist
new file mode 100644
index 000000000000..70121ba3c784
--- /dev/null
+++ b/x11-toolkits/ruby-gtksourceview/pkg-plist
@@ -0,0 +1,9 @@
+%%RUBY_SITEARCHLIBDIR%%/gtksourceview.so
+%%RUBY_SITELIBDIR%%/gtksourceview.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sourcelanguagesmanager.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%