forked from Lainports/freebsd-ports
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925
33 lines
948 B
Makefile
33 lines
948 B
Makefile
PORTNAME= smf
|
|
PORTVERSION= 0.15.15
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio ruby
|
|
MASTER_SITES= http://www.funaba.org/archive/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Ruby module to handle Standard MIDI Files
|
|
WWW= http://www.funaba.org/code #smf
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= ruby:setup shebangfix
|
|
RUBY_SETUP= install.rb
|
|
SHEBANG_FILES= sample/*.rb
|
|
|
|
DOCS_EN= MANUAL.en MANUAL.en.html MANUAL.en.rd README.en
|
|
DOCS_JA= MANUAL MANUAL.html MANUAL.rd README
|
|
EXAMPLES= sample/*
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/en
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
|
${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/en/
|
|
${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
|
|
|
.include <bsd.port.mk>
|