aboutsummaryrefslogtreecommitdiff
path: root/x11/ruby-gnome2
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2010-09-11 13:02:39 +0000
committerSteve Wills <swills@FreeBSD.org>2010-09-11 13:02:39 +0000
commit804529e5145918f144b4ab98ce4cfdf57058f39b (patch)
treecff25b2524d54cac31fb5c21bbc8a4f554688dfe /x11/ruby-gnome2
parentd881a47106ec896eba835956998dc2c4d984d773 (diff)
downloadports-804529e5145918f144b4ab98ce4cfdf57058f39b.tar.gz
ports-804529e5145918f144b4ab98ce4cfdf57058f39b.zip
Notes
Diffstat (limited to 'x11/ruby-gnome2')
-rw-r--r--x11/ruby-gnome2/Makefile2
-rw-r--r--x11/ruby-gnome2/Makefile.common16
-rw-r--r--x11/ruby-gnome2/distinfo6
-rw-r--r--x11/ruby-gnome2/pkg-plist1
4 files changed, 15 insertions, 10 deletions
diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile
index 4f662cc2c17d..24c58d62d4db 100644
--- a/x11/ruby-gnome2/Makefile
+++ b/x11/ruby-gnome2/Makefile
@@ -8,7 +8,6 @@
PORTNAME= gnome2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTREVISION= 3
CATEGORIES= x11 ruby gnome
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@@ -33,6 +32,7 @@ INSTALL_TARGET= site-install
DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all
post-patch: general-patch
+post-configure: general-configure
post-build:
@${CP} ${RUBY_GNOME_WRKSRC}/AUTHORS ${WRKSRC}/AUTHORS
diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common
index 43e14823b1d2..0def593a3f06 100644
--- a/x11/ruby-gnome2/Makefile.common
+++ b/x11/ruby-gnome2/Makefile.common
@@ -1,17 +1,17 @@
# $FreeBSD$
-RUBY_GNOME_VERSION= 0.16.0.20080905 #YYYYMMDD
+RUBY_GNOME_VERSION= 0.19.4
#RUBY_GNOME_SNAPSHOTDATE= 20061130
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE}
.else
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}
.endif
-#RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-#RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2
-RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.freebsd.org/~mezz/distfiles/
-RUBY_GNOME_MASTER_SITE_SUBDIR= mezz
+RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2/ruby-gnome2/ruby-gnome2-${RUBY_GNOME_VERSION:S/r/rev/}
+#RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_LOCAL} \
+# http://people.freebsd.org/~mezz/distfiles/
+#RUBY_GNOME_MASTER_SITE_SUBDIR= mezz
RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/}
CONFIGURE_ARGS+= --ruby=${RUBY}
@@ -28,3 +28,7 @@ MD5_FILE= ${RUBY_GNOME_PORTDIR}/distinfo
general-patch:
@${FIND} ${WRKDIR} -name mkmf-gnome2.rb | ${XARGS} ${REINPLACE_CMD} -e \
's|CFLAGS}|CFLAGS} -I${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}|g'
+
+general-configure:
+ @${FIND} ${WRKDIR} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$(libdir)/pkgconfig|$(libdir)data/pkgconfig|g'
diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo
index 1883b3ff16bf..c2c7c27145f0 100644
--- a/x11/ruby-gnome2/distinfo
+++ b/x11/ruby-gnome2/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/ruby-gnome2-all-0.16.0.20080905.tar.gz) = 8808a5af33811b6188208aefbc1a5b7e
-SHA256 (ruby/ruby-gnome2-all-0.16.0.20080905.tar.gz) = bbddb560744503b7a23d9c92b91b752bf5b12eef60133a1a301e213278b4a013
-SIZE (ruby/ruby-gnome2-all-0.16.0.20080905.tar.gz) = 1494710
+MD5 (ruby/ruby-gnome2-all-0.19.4.tar.gz) = 40451e4173e2c8bcd5046aea7e499ef9
+SHA256 (ruby/ruby-gnome2-all-0.19.4.tar.gz) = 40beced42c867c5980aafef23a3b03a5a7ef007fde07e32dc36d207d07475caf
+SIZE (ruby/ruby-gnome2-all-0.19.4.tar.gz) = 2401534
diff --git a/x11/ruby-gnome2/pkg-plist b/x11/ruby-gnome2/pkg-plist
index 22e18280246e..3761d1a5b94b 100644
--- a/x11/ruby-gnome2/pkg-plist
+++ b/x11/ruby-gnome2/pkg-plist
@@ -1,3 +1,4 @@
+libdata/pkgconfig/ruby-gnome2.pc
%%RUBY_SITELIBDIR%%/gnome2.rb
%%RUBY_SITEARCHLIBDIR%%/gnome2.so
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS