diff options
author | knu <knu@FreeBSD.org> | 2001-06-25 22:56:26 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-25 22:56:26 +0000 |
commit | bc58832f1d0e0a7ce746bd1e497d7f9193d84386 (patch) | |
tree | 5ca995d73d66c1aadcc3964d17a2356171707677 /devel/ruby-libglade | |
parent | 0e7ce284bf18bcb26b48b8bf0253b1b3769f251d (diff) | |
download | FreeBSD-ports-bc58832f1d0e0a7ce746bd1e497d7f9193d84386.zip FreeBSD-ports-bc58832f1d0e0a7ce746bd1e497d7f9193d84386.tar.gz |
Update to 1.2.
Diffstat (limited to 'devel/ruby-libglade')
-rw-r--r-- | devel/ruby-libglade/Makefile | 13 | ||||
-rw-r--r-- | devel/ruby-libglade/distinfo | 2 | ||||
-rw-r--r-- | devel/ruby-libglade/files/patch-extconf.rb | 23 |
3 files changed, 17 insertions, 21 deletions
diff --git a/devel/ruby-libglade/Makefile b/devel/ruby-libglade/Makefile index f14693a..a9e17ef 100644 --- a/devel/ruby-libglade/Makefile +++ b/devel/ruby-libglade/Makefile @@ -6,12 +6,11 @@ # PORTNAME= libglade -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.2 CATEGORIES= devel ruby gnome MASTER_SITES= http://beta4.com/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION:S/./-/g} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org @@ -30,10 +29,10 @@ INSTALL_TARGET= site-install post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_EXAMPLESDIR}/libglade/ - ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/libglade/ - ${MKDIR} ${RUBY_DOCDIR}/libglade - ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/libglade/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ .endif .include <bsd.port.mk> diff --git a/devel/ruby-libglade/distinfo b/devel/ruby-libglade/distinfo index 47a41b8..7587325 100644 --- a/devel/ruby-libglade/distinfo +++ b/devel/ruby-libglade/distinfo @@ -1 +1 @@ -MD5 (ruby/ruby-libglade-1.1.tar.gz) = 216279927ce94e10ba4c5abcaa83e88a +MD5 (ruby/ruby-libglade-1-2.tar.gz) = a0d3f1d42c163f8c407a946115eaca98 diff --git a/devel/ruby-libglade/files/patch-extconf.rb b/devel/ruby-libglade/files/patch-extconf.rb index de69172..834c84d 100644 --- a/devel/ruby-libglade/files/patch-extconf.rb +++ b/devel/ruby-libglade/files/patch-extconf.rb @@ -1,8 +1,7 @@ ---- extconf.rb.orig Wed Jan 24 12:29:18 2001 -+++ extconf.rb Thu Feb 8 04:50:07 2001 -@@ -2,6 +2,16 @@ - - $objs = ["rbglade.o"] +--- extconf.rb.orig Mon Jun 25 07:08:39 2001 ++++ extconf.rb Tue Jun 26 06:06:49 2001 +@@ -1,5 +1,13 @@ + require 'mkmf' +glib_config = with_config("glib-config", "glib-config") +$CFLAGS += " " + %x(#{glib_config} --cflags).chomp @@ -12,14 +11,12 @@ +$CFLAGS += " " + %x(#{gtk_config} --cflags).chomp +$LDFLAGS += " " + %x(#{gtk_config} --libs).chomp + -+puts $CFLAGS -+ + $objs = ["rbglade.o"] + dir_config("glade") - dir_config("xml") - dir_config("z") -@@ -15,4 +25,4 @@ - end +@@ -16,5 +24,3 @@ end --create_makefile("lglade") -+create_makefile("lglade") + create_makefile("lglade") +-system('echo LDFLAGS+=`gtk-config --libs` >> Makefile') +-system('echo CFLAGS+=`gtk-config --cflags` >> Makefile') |