pkgsrc/graphics/ruby-imlib2/Makefile
taca 23b522a8e8 Fix build problem with ruby18.
Give up to patch gemspec but use pre-generated one.
2011-02-28 15:46:08 +00:00

28 lines
770 B
Makefile

# $NetBSD: Makefile,v 1.25 2011/02/28 15:46:08 taca Exp $
DISTNAME= imlib2-ruby-0.5.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
PKGREVISION= 12
CATEGORIES= graphics
MASTER_SITES= http://pablotron.org/files/gems/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pablotron.org/software/imlib2-ruby/
COMMENT= Imlib2 bindings for Ruby
LICENSE= mit
GEM_CLEANBUILD= Makefile *.o imlib2.${RUBY_DLEXT} mkmf.log
pre-configure:
${CHMOD} -R g-w ${WRKSRC}
.include "../../lang/ruby/gem.mk"
BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.2.0nb2
# use pre-generated gemspec file to avoid rubygems's incompatibility.
post-extract:
${CP} ${FILESDIR}/gemspec ${WRKDIR}/${DISTNAME}.gemspec
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"