aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-cairo
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-03-18 20:01:35 +0000
committerSteve Wills <swills@FreeBSD.org>2011-03-18 20:01:35 +0000
commit3cfc42c667b81ca26335ea6b794ae26810813616 (patch)
tree3c4d1214f9594846744ddf34bafb4a79d5545e35 /graphics/ruby-cairo
parent84757dccba71da59e870beea42135c1ee9b0baba (diff)
- Update to 1.10.0
- Fix build with RUBY_VER == 1.9
Notes
Notes: svn path=/head/; revision=271284
Diffstat (limited to 'graphics/ruby-cairo')
-rw-r--r--graphics/ruby-cairo/Makefile9
-rw-r--r--graphics/ruby-cairo/distinfo5
-rw-r--r--graphics/ruby-cairo/pkg-plist5
3 files changed, 7 insertions, 12 deletions
diff --git a/graphics/ruby-cairo/Makefile b/graphics/ruby-cairo/Makefile
index d0d5e501c13a..d5daafa336fd 100644
--- a/graphics/ruby-cairo/Makefile
+++ b/graphics/ruby-cairo/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cairo
-PORTVERSION= 1.8.1
+PORTVERSION= 1.10.0
CATEGORIES= graphics ruby
MASTER_SITES= http://cairographics.org/releases/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -16,6 +16,7 @@ DISTNAME= r${PORTNAME}-${PORTVERSION}
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby binding for Cairo
+BUILD_DEPENDS= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
USE_GNOME= pkgconfig
@@ -23,11 +24,7 @@ USE_RUBY= yes
USE_RUBY_EXTCONF=yes
CONFIGURE_ARGS+=--ruby=${RUBY}
-DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local/lib/pkgconfig|${LOCALBASE}/libdata/pkgconfig|g' \
- ${WRKSRC}/pkg-config.rb
+DOCS= AUTHORS COPYING GPL NEWS
post-install:
.if !defined(NOPORTEXAMPLES)
diff --git a/graphics/ruby-cairo/distinfo b/graphics/ruby-cairo/distinfo
index 635892cfb3b7..b86a07167d6d 100644
--- a/graphics/ruby-cairo/distinfo
+++ b/graphics/ruby-cairo/distinfo
@@ -1,3 +1,2 @@
-MD5 (rcairo-1.8.1.tar.gz) = 14efc24f0cbe281b32882d64f1b0d4b9
-SHA256 (rcairo-1.8.1.tar.gz) = a74b0cf5a56797a9ded2bb57b13b469ac688a1c6ccac0c67eb956ce6bbf2bc51
-SIZE (rcairo-1.8.1.tar.gz) = 278045
+SHA256 (rcairo-1.10.0.tar.gz) = 70e2df4fe0bcd2875d7512279058b116e964ca91d152cf9eb2f05b5c7774f118
+SIZE (rcairo-1.10.0.tar.gz) = 220364
diff --git a/graphics/ruby-cairo/pkg-plist b/graphics/ruby-cairo/pkg-plist
index 4825e1ed1c4a..806d8af9912d 100644
--- a/graphics/ruby-cairo/pkg-plist
+++ b/graphics/ruby-cairo/pkg-plist
@@ -17,14 +17,13 @@
%%RUBY_SITEARCHLIBDIR%%/rb_cairo.h
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/GPL
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/agg/aa_test.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/blur.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac.rb
-%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac-nomralize.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/pac-tee.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/png.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/scalable.rb
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/text-on-path.rb