aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-libglade2
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-libglade2')
-rw-r--r--devel/ruby-libglade2/Makefile22
-rw-r--r--devel/ruby-libglade2/pkg-comment2
-rw-r--r--devel/ruby-libglade2/pkg-descr4
-rw-r--r--devel/ruby-libglade2/pkg-plist4
4 files changed, 18 insertions, 14 deletions
diff --git a/devel/ruby-libglade2/Makefile b/devel/ruby-libglade2/Makefile
index 6405ce92cf69..c4dbfbcecd5d 100644
--- a/devel/ruby-libglade2/Makefile
+++ b/devel/ruby-libglade2/Makefile
@@ -1,13 +1,12 @@
-# New ports collection makefile for: Ruby-libglade
+# New ports collection makefile for: Ruby/Libglade2
# Date created: 8 February 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
-PORTNAME= libglade
+PORTNAME= libglade2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTEPOCH= 1
CATEGORIES= devel ruby gnome
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@@ -17,25 +16,28 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \
- ${RUBY_SITEARCHLIBDIR}/gnome.so:${PORTSDIR}/x11/ruby-gnome
-LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-USE_GNOME= yes
-.include "${.CURDIR}/../../x11/ruby-gnome/Makefile.common"
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
-WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME}
+WRKSRC= ${RUBY_GNOME_WRKSRC}/libglade
INSTALL_TARGET= site-install
+DOCS= ChangeLog \
+ README
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/devel/ruby-libglade2/pkg-comment b/devel/ruby-libglade2/pkg-comment
index 1f69e4855a9a..44a1af31671a 100644
--- a/devel/ruby-libglade2/pkg-comment
+++ b/devel/ruby-libglade2/pkg-comment
@@ -1 +1 @@
-A wrapper library of libglade for Ruby
+Ruby binding for Libglade2
diff --git a/devel/ruby-libglade2/pkg-descr b/devel/ruby-libglade2/pkg-descr
index 68e848fd5a72..5f747b3ba869 100644
--- a/devel/ruby-libglade2/pkg-descr
+++ b/devel/ruby-libglade2/pkg-descr
@@ -1,3 +1,3 @@
-Ruby-libglade -- A wrapper library of libglade for ruby
+Ruby/Libglade2 is a Ruby binding for Libglade2.
-WWW: http://ruby-gnome.sourceforge.net/
+WWW: http://ruby-gnome2.sourceforge.net/
diff --git a/devel/ruby-libglade2/pkg-plist b/devel/ruby-libglade2/pkg-plist
index 9491c205aaeb..5c61d4ee7065 100644
--- a/devel/ruby-libglade2/pkg-plist
+++ b/devel/ruby-libglade2/pkg-plist
@@ -1,6 +1,8 @@
-%%RUBY_SITEARCHLIBDIR%%/lglade.so
+%%RUBY_SITEARCHLIBDIR%%/libglade2.so
+%%RUBY_SITELIBDIR%%/libglade2.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.glade
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%