2013-09-20 16:36:35 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2002-03-30 17:59:28 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= smf
|
2015-05-10 22:16:35 +02:00
|
|
|
PORTVERSION= 0.15.15
|
2002-03-30 17:59:28 +01:00
|
|
|
CATEGORIES= audio ruby
|
|
|
|
MASTER_SITES= http://www.funaba.org/archive/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2011-11-01 23:59:35 +01:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 05:24:40 +01:00
|
|
|
COMMENT= Ruby module to handle Standard MIDI Files
|
2002-03-30 17:59:28 +01:00
|
|
|
|
2015-05-10 22:16:35 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2002-03-30 17:59:28 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
RUBY_SETUP= install.rb
|
2006-11-29 12:53:20 +01:00
|
|
|
RUBY_SHEBANG_FILES= sample/*.rb
|
2002-03-30 17:59:28 +01:00
|
|
|
|
|
|
|
DOCS_EN= MANUAL.en MANUAL.en.html MANUAL.en.rd README.en
|
|
|
|
DOCS_JA= MANUAL MANUAL.html MANUAL.rd README
|
2006-11-29 12:53:20 +01:00
|
|
|
EXAMPLES= sample/*
|
2002-03-30 17:59:28 +01:00
|
|
|
|
2015-05-10 22:16:35 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-07-16 01:11:12 +02:00
|
|
|
|
2002-03-30 17:59:28 +01:00
|
|
|
post-install:
|
2014-02-22 11:34:35 +01:00
|
|
|
${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/
|
2002-03-30 17:59:28 +01:00
|
|
|
|
2015-05-10 22:16:35 +02:00
|
|
|
.include <bsd.port.mk>
|