* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.

* Add LICENSE.
* Ajust new ruby package's framework.
This commit is contained in:
taca 2010-09-10 05:33:12 +00:00
parent de186a7400
commit 002d5400fe

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2010/09/07 17:20:25 taca Exp $
# $NetBSD: Makefile,v 1.7 2010/09/10 05:33:12 taca Exp $
DISTNAME= ruby-eet-0.1.4
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
@ -9,20 +9,20 @@ MASTER_SITES= ftp://code-monkey.de/pub/ruby-eet/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://code-monkey.de/pages/ruby-eet
COMMENT= Ruby module to read and write EET files
BUILD_DEPENDS+= rake-[0-9]*:../../devel/rake
LICENSE= mit
RUBY_VERSION_SUPPORTED= 18
USE_RAKE= YES
USE_TOOLS+= pkg-config
.include "../../devel/eet/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
do-build:
cd ${WRKSRC} && ${LOCALBASE}/bin/rake ext
cd ${WRKSRC} && ${RAKE}
do-install:
cd ${WRKSRC} && ${LOCALBASE}/bin/rake install
cd ${WRKSRC} && ${RAKE} install
.include "../../mk/bsd.pkg.mk"