aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-10-20 19:51:26 +0800
committerknu <knu@FreeBSD.org>2001-10-20 19:51:26 +0800
commit5eadfd8870a8e3c714c64790c0476b4c6215bbc1 (patch)
treef34ae7e0ba3d8cd92695cdbe695134d0673cd08a
parentf690abc6fb6d64ba19c85c6c802105a706f855c2 (diff)
downloadfreebsd-ports-gnome-5eadfd8870a8e3c714c64790c0476b4c6215bbc1.tar.gz
freebsd-ports-gnome-5eadfd8870a8e3c714c64790c0476b4c6215bbc1.tar.zst
freebsd-ports-gnome-5eadfd8870a8e3c714c64790c0476b4c6215bbc1.zip
Add ruby-gconf, a Ruby interface to GConf (1.0.x).
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ruby-gconf/Makefile44
-rw-r--r--devel/ruby-gconf/distinfo1
-rw-r--r--devel/ruby-gconf/files/patch-extconf.rb27
-rw-r--r--devel/ruby-gconf/pkg-comment1
-rw-r--r--devel/ruby-gconf/pkg-descr8
-rw-r--r--devel/ruby-gconf/pkg-plist9
-rw-r--r--devel/ruby-gconf2/Makefile44
-rw-r--r--devel/ruby-gconf2/distinfo1
-rw-r--r--devel/ruby-gconf2/files/patch-extconf.rb27
-rw-r--r--devel/ruby-gconf2/pkg-comment1
-rw-r--r--devel/ruby-gconf2/pkg-descr8
-rw-r--r--devel/ruby-gconf2/pkg-plist9
13 files changed, 181 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6aae5a2478ca..0bcea3767133 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -493,6 +493,7 @@
SUBDIR += ruby-fileutils
SUBDIR += ruby-flex_rb
SUBDIR += ruby-fnmatch
+ SUBDIR += ruby-gconf
SUBDIR += ruby-gemfinder
SUBDIR += ruby-gnustep
SUBDIR += ruby-intl
diff --git a/devel/ruby-gconf/Makefile b/devel/ruby-gconf/Makefile
new file mode 100644
index 000000000000..602d9e19c645
--- /dev/null
+++ b/devel/ruby-gconf/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ruby-gconf
+# Date created: 20 October 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gconf
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ruby-gnome
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= gconf-gtk-1.1:${PORTSDIR}/devel/gconf
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+USE_GTK= yes
+
+CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG}
+INSTALL_TARGET= site-install
+
+DOCS= CREDITS \
+ ChangeLog \
+ INSTALL \
+ Makefile \
+ README \
+ README.DEV \
+ TODO
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-gconf/distinfo b/devel/ruby-gconf/distinfo
new file mode 100644
index 000000000000..bf198af3608a
--- /dev/null
+++ b/devel/ruby-gconf/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-gconf-0.1.tar.gz) = 907243ed0255150434c1174f631b3bcf
diff --git a/devel/ruby-gconf/files/patch-extconf.rb b/devel/ruby-gconf/files/patch-extconf.rb
new file mode 100644
index 000000000000..9b882428ca2b
--- /dev/null
+++ b/devel/ruby-gconf/files/patch-extconf.rb
@@ -0,0 +1,27 @@
+--- extconf.rb.orig Tue Oct 16 07:27:04 2001
++++ extconf.rb Sat Oct 20 20:28:04 2001
+@@ -1,13 +1,17 @@
+ #!/usr/bin/ruby -w
+ require 'mkmf'
+-puts "GTK+ version: #{`gtk-config --version`}"
+-puts "GConf version: #{`gconf-config --version`}"
+-$CFLAGS << ' -O3 -Wall '
+-$CFLAGS << `gconf-config --cflags`.chomp
++
++gconf_config = with_config('gconf-config', 'gconf-config')
++gtk_config = with_config('gtk-config', 'gtk-config')
++
++puts "GTK+ version: #{`#{gtk_config} --version`}"
++puts "GConf version: #{`#{gconf_config} --version`}"
++$CFLAGS << ' -Wall '
++$CFLAGS << `#{gconf_config} --cflags`.chomp
+ $CFLAGS << ' '
+-$CFLAGS << `gtk-config --cflags`
+-$LDFLAGS << `gconf-config --libs`.chomp
++$CFLAGS << `#{gtk_config} --cflags`
++$LDFLAGS << `#{gconf_config} --libs`.chomp
+ $LDFLAGS << ' -lgconf-gtk-1 '
+-$LDFLAGS << `gtk-config --libs`
++$LDFLAGS << `#{gtk_config} --libs`
+ Dir.chdir('src')
+ create_makefile('gconf')
diff --git a/devel/ruby-gconf/pkg-comment b/devel/ruby-gconf/pkg-comment
new file mode 100644
index 000000000000..64cf14b53596
--- /dev/null
+++ b/devel/ruby-gconf/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to GConf (1.0.x)
diff --git a/devel/ruby-gconf/pkg-descr b/devel/ruby-gconf/pkg-descr
new file mode 100644
index 000000000000..d43b628789e8
--- /dev/null
+++ b/devel/ruby-gconf/pkg-descr
@@ -0,0 +1,8 @@
+This package allows Ruby developers to write applications that store
+their configuration data using GConf (1.0.x). GConf is a
+configuration database system written by Havoc Pennington et al, and
+part of the GNOME application development framework (although it can
+be used separately).
+
+Author: Neil Conway <neilconway@home.com>
+WWW: http://ruby-gnome.sf.net/gconf.html
diff --git a/devel/ruby-gconf/pkg-plist b/devel/ruby-gconf/pkg-plist
new file mode 100644
index 000000000000..196f339e4597
--- /dev/null
+++ b/devel/ruby-gconf/pkg-plist
@@ -0,0 +1,9 @@
+%%RUBY_SITEARCHLIBDIR%%/gconf.so
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/CREDITS
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/INSTALL
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/Makefile
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/README.DEV
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/TODO
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gconf
diff --git a/devel/ruby-gconf2/Makefile b/devel/ruby-gconf2/Makefile
new file mode 100644
index 000000000000..602d9e19c645
--- /dev/null
+++ b/devel/ruby-gconf2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ruby-gconf
+# Date created: 20 October 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gconf
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ruby-gnome
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= gconf-gtk-1.1:${PORTSDIR}/devel/gconf
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+USE_GTK= yes
+
+CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG}
+INSTALL_TARGET= site-install
+
+DOCS= CREDITS \
+ ChangeLog \
+ INSTALL \
+ Makefile \
+ README \
+ README.DEV \
+ TODO
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-gconf2/distinfo b/devel/ruby-gconf2/distinfo
new file mode 100644
index 000000000000..bf198af3608a
--- /dev/null
+++ b/devel/ruby-gconf2/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-gconf-0.1.tar.gz) = 907243ed0255150434c1174f631b3bcf
diff --git a/devel/ruby-gconf2/files/patch-extconf.rb b/devel/ruby-gconf2/files/patch-extconf.rb
new file mode 100644
index 000000000000..9b882428ca2b
--- /dev/null
+++ b/devel/ruby-gconf2/files/patch-extconf.rb
@@ -0,0 +1,27 @@
+--- extconf.rb.orig Tue Oct 16 07:27:04 2001
++++ extconf.rb Sat Oct 20 20:28:04 2001
+@@ -1,13 +1,17 @@
+ #!/usr/bin/ruby -w
+ require 'mkmf'
+-puts "GTK+ version: #{`gtk-config --version`}"
+-puts "GConf version: #{`gconf-config --version`}"
+-$CFLAGS << ' -O3 -Wall '
+-$CFLAGS << `gconf-config --cflags`.chomp
++
++gconf_config = with_config('gconf-config', 'gconf-config')
++gtk_config = with_config('gtk-config', 'gtk-config')
++
++puts "GTK+ version: #{`#{gtk_config} --version`}"
++puts "GConf version: #{`#{gconf_config} --version`}"
++$CFLAGS << ' -Wall '
++$CFLAGS << `#{gconf_config} --cflags`.chomp
+ $CFLAGS << ' '
+-$CFLAGS << `gtk-config --cflags`
+-$LDFLAGS << `gconf-config --libs`.chomp
++$CFLAGS << `#{gtk_config} --cflags`
++$LDFLAGS << `#{gconf_config} --libs`.chomp
+ $LDFLAGS << ' -lgconf-gtk-1 '
+-$LDFLAGS << `gtk-config --libs`
++$LDFLAGS << `#{gtk_config} --libs`
+ Dir.chdir('src')
+ create_makefile('gconf')
diff --git a/devel/ruby-gconf2/pkg-comment b/devel/ruby-gconf2/pkg-comment
new file mode 100644
index 000000000000..64cf14b53596
--- /dev/null
+++ b/devel/ruby-gconf2/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to GConf (1.0.x)
diff --git a/devel/ruby-gconf2/pkg-descr b/devel/ruby-gconf2/pkg-descr
new file mode 100644
index 000000000000..d43b628789e8
--- /dev/null
+++ b/devel/ruby-gconf2/pkg-descr
@@ -0,0 +1,8 @@
+This package allows Ruby developers to write applications that store
+their configuration data using GConf (1.0.x). GConf is a
+configuration database system written by Havoc Pennington et al, and
+part of the GNOME application development framework (although it can
+be used separately).
+
+Author: Neil Conway <neilconway@home.com>
+WWW: http://ruby-gnome.sf.net/gconf.html
diff --git a/devel/ruby-gconf2/pkg-plist b/devel/ruby-gconf2/pkg-plist
new file mode 100644
index 000000000000..196f339e4597
--- /dev/null
+++ b/devel/ruby-gconf2/pkg-plist
@@ -0,0 +1,9 @@
+%%RUBY_SITEARCHLIBDIR%%/gconf.so
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/CREDITS
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/INSTALL
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/Makefile
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/README.DEV
+%%PORTDOCS%%%%RUBY_DOCDIR%%/gconf/TODO
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gconf