aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-gtksourceview
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-08-15 17:01:02 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-08-15 17:01:02 +0000
commitb59f3899fff0b980d086c14f4a8dd232ea4edad3 (patch)
treec8a70029fc0a29070225eec17e5ea6a8f380fc15 /x11-toolkits/ruby-gtksourceview
parent4529d15f9fdf6e7af6ae7dff86acb50a34f342e0 (diff)
downloadports-b59f3899fff0b980d086c14f4a8dd232ea4edad3.tar.gz
ports-b59f3899fff0b980d086c14f4a8dd232ea4edad3.zip
Ruby/GtkSourceView is a Ruby binding of gtksourceview-1.0.x.
Notes
Notes: svn path=/head/; revision=116276
Diffstat (limited to 'x11-toolkits/ruby-gtksourceview')
-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
3 files changed, 55 insertions, 0 deletions
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%%