830fa275a5
Polyglot provides a registry of file types that can be loaded by calling its improved version of 'require'. Each file extension that can be handled by a custom loader is registered by callingPolyglot.register("ext", <class>), and then you can simply require "somefile", which will find and load "somefile.ext" using your custom loader.
19 lines
476 B
Makefile
19 lines
476 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/11/23 14:26:09 fhajny Exp $
|
|
|
|
DISTNAME= polyglot-0.2.9
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= http://polyglot.rubyforge.org/
|
|
COMMENT= Registry of file types to load with its improved version of 'require'
|
|
LICENSE= mit
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= hoe>=2.3.2:../../devel/hoe
|
|
|
|
GEM_BUILD= gemspec
|
|
|
|
.include "../../misc/rubygems/rubygem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|