blob: 99d4e57b8d694be9bb8dd5a6bd26b7573c0a973c (
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.12 2010/06/13 22:45:06 wiz Exp $
DISTNAME= ming-ruby-${VER}
PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER}
PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://rubyforge.org/frs/download.php/44137/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://mingruby.rubyforge.org/
COMMENT= Ruby extension to drive the Ming SWF library
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
USE_RUBY_SETUP= yes
VER= 0.2.1
WRKSRC= ${WRKDIR}/ming-ruby
REPLACE_RUBY_DIRS= ${WRKSRC}/examples
CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE}
CONFIGURE_ARGS+= --siterubyver=${PREFIX}/${RUBY_VENDORLIB}
CONFIGURE_ARGS+= --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/ming
cd ${WRKSRC}/examples && \
pax -wrppm '-s|.*/CVS.*$$||' . ${DESTDIR}${RUBY_EXAMPLESDIR}/ming
.include "../../multimedia/ming/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|