[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / ruby-ming

File: [cvs.NetBSD.org] / pkgsrc / multimedia / ruby-ming / Makefile (download)

Revision 1.15, Mon Feb 21 16:01:19 2011 UTC (10 years, 7 months ago) by taca
Branch: MAIN
Changes since 1.14: +2 -2 lines

Bump PKGREVISION due to ABI change of ruby18-base.

# $NetBSD: Makefile,v 1.15 2011/02/21 16:01:19 taca Exp $

DISTNAME=	ming-ruby-${VER}
PKGNAME=	${RUBY_PKGPREFIX}-ming-${VER}
PKGREVISION=	3
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}

INSTALLATION_DIRS+=	${RUBY_EG}/ming

pre-configure:
	${CHMOD} -x ${WRKSRC}/examples/rubyguts/midnightcommander/ruby.syntax \
		${WRKSRC}/examples/rubyguts/railsconnection/index.rhtml

post-install:
	cd ${WRKSRC}/examples && \
		pax -wrppm '-s|.*/CVS.*$$||' . \
			${DESTDIR}${PREFIX}/${RUBY_EG}/ming

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