blob: 051754ec38b7fb05981d80fdd0de5869632811fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= mp3tag
PORTVERSION= 1.0
CATEGORIES= audio ruby
MASTER_SITES= http://users.cybercity.dk/~dsl8950/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= A Ruby module to manipulate ID3v1.1 tags in MP3 files
USE_RUBY= yes
NO_STAGE= yes
USE_RUBY_RDOC= yes
RUBY_RD_FILES= mp3tag.rb
NO_BUILD= yes
DOCS= README \
${RUBY_RD_HTML_FILES}
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(require[[:space:]]+')\./mp3tag(.*),\1mp3tag\2," \
${WRKSRC}/mp3tag_test.rb
do-install:
${MKDIR} ${RUBY_SITELIBDIR}/
${INSTALL_DATA} ${WRKSRC}/mp3tag.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/mp3tag_test.rb ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>
|