aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-31 16:45:29 +0800
committerknu <knu@FreeBSD.org>2003-01-31 16:45:29 +0800
commit1b1e582c2466f2d324d129f3717bc9109aea1247 (patch)
treeac446ac6ad47827bbcc6a718d8534d2e17f995eb /graphics
parent3705328bd2f5f6f4dbc3f7daf2f882370ce43baf (diff)
downloadfreebsd-ports-gnome-1b1e582c2466f2d324d129f3717bc9109aea1247.tar.gz
freebsd-ports-gnome-1b1e582c2466f2d324d129f3717bc9109aea1247.tar.zst
freebsd-ports-gnome-1b1e582c2466f2d324d129f3717bc9109aea1247.zip
Update to 0.9.5.
Change the PORTNAME from "rmagic" to "rmagick". ;)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-rmagick/Makefile20
-rw-r--r--graphics/ruby-rmagick/distinfo2
-rw-r--r--graphics/ruby-rmagick/pkg-plist6
3 files changed, 21 insertions, 7 deletions
diff --git a/graphics/ruby-rmagick/Makefile b/graphics/ruby-rmagick/Makefile
index 7c1a4ad10a78..e0d189e8fc84 100644
--- a/graphics/ruby-rmagick/Makefile
+++ b/graphics/ruby-rmagick/Makefile
@@ -5,8 +5,8 @@
# $FreeBSD$
#
-PORTNAME= rmagic
-PORTVERSION= 0.9.3
+PORTNAME= rmagick
+PORTVERSION= 0.9.5
CATEGORIES= graphics ruby
MASTER_SITES= http://home.nc.rr.com/rmagick/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -21,17 +21,27 @@ USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
+USE_REINPLACE= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ RUBY="${RUBY}"
+
DOCS= ChangeLog README.txt
+post-patch:
+ ${REINPLACE_CMD} 's:/RMagick:/doc/${RUBY_NAME}/${RUBY_MODNAME}&:' ${WRKSRC}/post-install.rb
+
+pre-configure:
+ cd ${CONFIGURE_WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ./configure --prefix="${PREFIX}"
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
- cd ${WRKSRC}; ${RUBY} makedoc.rb \
- --data-dir ${RUBY_MODDOCDIR} \
- --im-doc-dir ${LOCALBASE}/share/doc/ImageMagick
.endif
.include <bsd.port.mk>
diff --git a/graphics/ruby-rmagick/distinfo b/graphics/ruby-rmagick/distinfo
index 3fa485f3d787..2cdd224e3fd8 100644
--- a/graphics/ruby-rmagick/distinfo
+++ b/graphics/ruby-rmagick/distinfo
@@ -1 +1 @@
-MD5 (ruby/RMagick-0.9.3.tar.gz) = 37231dbbcd5b36cbd029ecfbfaf54a0d
+MD5 (ruby/RMagick-0.9.5.tar.gz) = 9b2fe0c9f28f3c572d00b114d27ae6d9
diff --git a/graphics/ruby-rmagick/pkg-plist b/graphics/ruby-rmagick/pkg-plist
index c2fde83874ab..401390470d74 100644
--- a/graphics/ruby-rmagick/pkg-plist
+++ b/graphics/ruby-rmagick/pkg-plist
@@ -19,6 +19,7 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/cbezier4.rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/cbezier5.rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/cbezier6.rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/channel.rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/channel_threshold.rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/charcoal.rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/chop.rb.html
@@ -83,6 +84,8 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/cbezier5.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/cbezier6.gif
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/cbezier6.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/channel.jpg
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/channel.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/channel_threshold.jpg
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/channel_threshold.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/charcoal.jpg
@@ -216,6 +219,7 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/model.miff
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/notimplemented.gif
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/rmagick.gif
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/roses.jpg
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/small.tif
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/images/smile.miff
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/implode.jpg
@@ -332,7 +336,7 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/swirl.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/text.gif
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/text.rb
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/text_antialias.gif
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/text_antialias.jpg
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/text_antialias.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/texture_fill_to_border.gif
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RMagick/ex/texture_fill_to_border.rb