mruby: add an install target, the package is now functional.
This commit is contained in:
parent
8339145a17
commit
253c1871ef
|
@ -10,15 +10,24 @@ COMMENT= Lightweight implementation of the Ruby language
|
|||
LICENSE= mit
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
USE_TOOLS+= bison
|
||||
USE_TOOLS+= bison pax
|
||||
|
||||
DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
|
||||
|
||||
REPLACE_RUBY= minirake
|
||||
|
||||
DOCDIR= share/doc/mruby
|
||||
|
||||
INSTALLATION_DIRS+= bin ${DOCDIR}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ./minirake --verbose
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC}/include && ${PAX} -wr * ${DESTDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/guides/* ${DESTDIR}${PREFIX}/${DOCDIR}
|
||||
|
||||
.include "../../lang/ruby/replace.mk"
|
||||
.include "../../lang/ruby/rubyversion.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
40
mruby/PLIST
40
mruby/PLIST
|
@ -1 +1,41 @@
|
|||
@comment $NetBSD$
|
||||
bin/mirb
|
||||
bin/mrbc
|
||||
bin/mrdb
|
||||
bin/mruby
|
||||
bin/mruby-strip
|
||||
include/mrbconf.h
|
||||
include/mruby.h
|
||||
include/mruby/array.h
|
||||
include/mruby/boxing_nan.h
|
||||
include/mruby/boxing_no.h
|
||||
include/mruby/boxing_word.h
|
||||
include/mruby/class.h
|
||||
include/mruby/common.h
|
||||
include/mruby/compile.h
|
||||
include/mruby/data.h
|
||||
include/mruby/debug.h
|
||||
include/mruby/dump.h
|
||||
include/mruby/error.h
|
||||
include/mruby/gc.h
|
||||
include/mruby/hash.h
|
||||
include/mruby/irep.h
|
||||
include/mruby/istruct.h
|
||||
include/mruby/khash.h
|
||||
include/mruby/numeric.h
|
||||
include/mruby/object.h
|
||||
include/mruby/opcode.h
|
||||
include/mruby/ops.h
|
||||
include/mruby/proc.h
|
||||
include/mruby/range.h
|
||||
include/mruby/re.h
|
||||
include/mruby/string.h
|
||||
include/mruby/throw.h
|
||||
include/mruby/value.h
|
||||
include/mruby/variable.h
|
||||
include/mruby/version.h
|
||||
share/doc/mruby/compile.md
|
||||
share/doc/mruby/debugger.md
|
||||
share/doc/mruby/gc-arena-howto.md
|
||||
share/doc/mruby/mrbconf.md
|
||||
share/doc/mruby/mrbgems.md
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
- Add an install target, or use the Rakefile install target?
|
Loading…
Reference in New Issue