mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Add ruby-gconf, a Ruby interface to GConf (1.0.x).
This commit is contained in:
parent
6092cf2d58
commit
52512d3ab6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48980
@ -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
|
||||
|
44
devel/ruby-gconf/Makefile
Normal file
44
devel/ruby-gconf/Makefile
Normal file
@ -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>
|
1
devel/ruby-gconf/distinfo
Normal file
1
devel/ruby-gconf/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-gconf-0.1.tar.gz) = 907243ed0255150434c1174f631b3bcf
|
27
devel/ruby-gconf/files/patch-extconf.rb
Normal file
27
devel/ruby-gconf/files/patch-extconf.rb
Normal file
@ -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')
|
1
devel/ruby-gconf/pkg-comment
Normal file
1
devel/ruby-gconf/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby interface to GConf (1.0.x)
|
8
devel/ruby-gconf/pkg-descr
Normal file
8
devel/ruby-gconf/pkg-descr
Normal file
@ -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
|
9
devel/ruby-gconf/pkg-plist
Normal file
9
devel/ruby-gconf/pkg-plist
Normal file
@ -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
|
44
devel/ruby-gconf2/Makefile
Normal file
44
devel/ruby-gconf2/Makefile
Normal file
@ -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>
|
1
devel/ruby-gconf2/distinfo
Normal file
1
devel/ruby-gconf2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-gconf-0.1.tar.gz) = 907243ed0255150434c1174f631b3bcf
|
27
devel/ruby-gconf2/files/patch-extconf.rb
Normal file
27
devel/ruby-gconf2/files/patch-extconf.rb
Normal file
@ -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')
|
1
devel/ruby-gconf2/pkg-comment
Normal file
1
devel/ruby-gconf2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby interface to GConf (1.0.x)
|
8
devel/ruby-gconf2/pkg-descr
Normal file
8
devel/ruby-gconf2/pkg-descr
Normal file
@ -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
|
9
devel/ruby-gconf2/pkg-plist
Normal file
9
devel/ruby-gconf2/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user