summaryrefslogtreecommitdiff
path: root/multimedia/ruby-ming/Makefile
blob: 00fef0873847a0f5462b02f3e6463ed9ec81a040 (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
# $NetBSD: Makefile,v 1.2 2006/01/03 15:07:29 taca Exp $

DISTNAME=	ming-ruby-${VER}
PKGNAME=	${RUBY_PKGPREFIX}-ming-${VER}
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	http://madscientist.jp/~ikegami/sources/

MAINTAINER=	rasputnik@hellooperator.net
HOMEPAGE=	http://madscientist.jp/~ikegami/ruby/ming/
COMMENT=	Ruby extension to drive the Ming SWF library

USE_RUBY_SETUP=	yes
VER=		0.1.6

EXAMPLES=		README action.rb button.rb drag.rb \
			gradient.rb gradientxform.rb keypress.rb \
			mousetrack.rb newbutton.rb shape.rb sparks.rb \
			sprite.rb
REPLACE_RUBY_DIRS=	${WRKSRC}/examples

post-install:
		${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ming
.for f in ${EXAMPLES}
		${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/ming
.endfor

.include "../../multimedia/ming/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"