aboutsummaryrefslogblamecommitdiff
path: root/audio/ruby-smf/Makefile
blob: 5430c34e42af179419694358b50542c85c3c86ec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                      
           

                   
                       
                 




                                              
                                
                                                         
 

                          
                   
                          

                          
                           


                                                               
                        
 
                             
 
             





                                                                                      
 
                      
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

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

LICENSE=	BSD2CLAUSE

USE_RUBY=	yes
USES=		shebangfix
USE_RUBY_SETUP=	yes
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>