blob: 6a9bbee24d5c95b60593e7956c82c9e8e86d9601 (
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
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.10 2008/07/14 12:56:09 joerg Exp $
DISTNAME= ming-ruby-${VER}
PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER}
PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://rubyforge.org/frs/download.php/15678/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mingruby.rubyforge.org/
COMMENT= Ruby extension to drive the Ming SWF library
PKG_DESTDIR_SUPPORT= user-destdir
USE_RUBY_SETUP= yes
VER= 0.1.8
CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
EXAMPLES= README.examples action.rb drag.rb \
gradient.rb gradientxform.rb hello.rb keypress.rb \
mousetrack.rb movieclip.rb newbutton.rb shape.rb
REPLACE_RUBY_DIRS= examples
INSTALLATION_DIRS= ${RUBY_EG}/ming
post-install:
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}${PREFIX}/${RUBY_EG}/ming
.endfor
.include "../../multimedia/ming/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|