aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-glib2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-11-21 04:19:39 +0800
committerknu <knu@FreeBSD.org>2003-11-21 04:19:39 +0800
commit8187463f2e761b3bfd666dd1b2ad5c1912355933 (patch)
tree7c3fe2c3c23fef721fbaf759a1dc41d8d01fe8a1 /devel/ruby-glib2
parent30766a02181f97a1ade3d45e007438cb714d2555 (diff)
downloadfreebsd-ports-graphics-8187463f2e761b3bfd666dd1b2ad5c1912355933.tar.gz
freebsd-ports-graphics-8187463f2e761b3bfd666dd1b2ad5c1912355933.tar.zst
freebsd-ports-graphics-8187463f2e761b3bfd666dd1b2ad5c1912355933.zip
Update the Ruby/GNOME2 suite to 0.8.0.
Diffstat (limited to 'devel/ruby-glib2')
-rw-r--r--devel/ruby-glib2/Makefile3
-rw-r--r--devel/ruby-glib2/files/patch-mkmf-gnome2.rb15
-rw-r--r--devel/ruby-glib2/pkg-plist2
3 files changed, 4 insertions, 16 deletions
diff --git a/devel/ruby-glib2/Makefile b/devel/ruby-glib2/Makefile
index d6dd123ddff..8ab8d809075 100644
--- a/devel/ruby-glib2/Makefile
+++ b/devel/ruby-glib2/Makefile
@@ -7,7 +7,6 @@
PORTNAME= glib2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@@ -33,6 +32,8 @@ DOCS= ChangeLog \
post-install:
.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
diff --git a/devel/ruby-glib2/files/patch-mkmf-gnome2.rb b/devel/ruby-glib2/files/patch-mkmf-gnome2.rb
deleted file mode 100644
index b3541c1f364..00000000000
--- a/devel/ruby-glib2/files/patch-mkmf-gnome2.rb
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/lib/mkmf-gnome2.rb.orig Sun Sep 7 21:00:32 2003
-+++ src/lib/mkmf-gnome2.rb Sat Oct 18 19:41:58 2003
-@@ -137,11 +137,7 @@
- end
- end
-
--alias :old_create_makefile :create_makefile
--def create_makefile(lib, src_prefix = nil)
-- $CFLAGS << " -I$(sitearchdir) "
-- old_create_makefile(lib, src_prefix)
--end
-+$CPPFLAGS << " -I$(sitearchdir) "
-
- def create_top_makefile(sub_dirs = ["src"])
- mfile = File.open("Makefile", "w")
diff --git a/devel/ruby-glib2/pkg-plist b/devel/ruby-glib2/pkg-plist
index 79815fb856b..f3bf02f999f 100644
--- a/devel/ruby-glib2/pkg-plist
+++ b/devel/ruby-glib2/pkg-plist
@@ -1,6 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/glib2.so
%%RUBY_SITELIBDIR%%/glib2.rb
%%RUBY_SITELIBDIR%%/mkmf-gnome2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/type-register.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%