aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/ruby-panelapplet/Makefile43
-rw-r--r--x11-toolkits/ruby-panelapplet/pkg-descr3
-rw-r--r--x11-toolkits/ruby-panelapplet/pkg-plist12
4 files changed, 59 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 4fcbae1a17c1..dde1a3447126 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -166,6 +166,7 @@
SUBDIR += ruby-gtk2
SUBDIR += ruby-gtkglext
SUBDIR += ruby-gtksourceview
+ SUBDIR += ruby-panelapplet
SUBDIR += ruby-pango
SUBDIR += ruby-tk
SUBDIR += scintilla
diff --git a/x11-toolkits/ruby-panelapplet/Makefile b/x11-toolkits/ruby-panelapplet/Makefile
new file mode 100644
index 000000000000..de768d7f572a
--- /dev/null
+++ b/x11-toolkits/ruby-panelapplet/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Ruby/PanelApplet
+# Date created: 15 August 2004
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= panelapplet
+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 libpanel-applet
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+
+USE_RUBY= yes
+USE_GNOME= gnomepanel
+USE_RUBY_EXTCONF= yes
+
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/panel-applet
+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-panelapplet/pkg-descr b/x11-toolkits/ruby-panelapplet/pkg-descr
new file mode 100644
index 000000000000..b9c41c873b7d
--- /dev/null
+++ b/x11-toolkits/ruby-panelapplet/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/PanelApplet is a Ruby binding of libpanel-applet.
+
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/x11-toolkits/ruby-panelapplet/pkg-plist b/x11-toolkits/ruby-panelapplet/pkg-plist
new file mode 100644
index 000000000000..c9f92926b101
--- /dev/null
+++ b/x11-toolkits/ruby-panelapplet/pkg-plist
@@ -0,0 +1,12 @@
+%%RUBY_SITEARCHLIBDIR%%/panelapplet2.so
+%%RUBY_SITELIBDIR%%/panelapplet2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/clock-applet.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/clock-applet.server
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello-applet.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello-applet.server
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%