blob: 3fba3f6244ed621eb65440a46f061abf0664eb08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.27 2012/02/06 12:40:35 wiz Exp $
DISTNAME= imlib2-ruby-0.5.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
PKGREVISION= 14
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"
|