diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-31 08:45:29 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-31 08:45:29 +0000 |
commit | f361f37d354218fd75da14a7ab7460028278084b (patch) | |
tree | 5140ef3be16348b850f0c5ae5a75929c7e4f48be /graphics/ruby-rmagick/Makefile | |
parent | 71a1cb1ebf6b31bf04aed8688bb37b732af70470 (diff) | |
download | ports-f361f37d354218fd75da14a7ab7460028278084b.tar.gz ports-f361f37d354218fd75da14a7ab7460028278084b.zip |
Notes
Diffstat (limited to 'graphics/ruby-rmagick/Makefile')
-rw-r--r-- | graphics/ruby-rmagick/Makefile | 20 |
1 files changed, 15 insertions, 5 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> |