Update to 0.9.5.
Change the PORTNAME from "rmagic" to "rmagick". ;)
This commit is contained in:
parent
71a1cb1ebf
commit
f361f37d35
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74337
3 changed files with 21 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (ruby/RMagick-0.9.3.tar.gz) = 37231dbbcd5b36cbd029ecfbfaf54a0d
|
||||
MD5 (ruby/RMagick-0.9.5.tar.gz) = 9b2fe0c9f28f3c572d00b114d27ae6d9
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue