2013-09-20 16:36:35 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2001-07-20 13:21:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= audiofile
|
2003-08-10 12:28:10 +02:00
|
|
|
PORTVERSION= 0.2.4
|
2013-11-08 15:31:40 +01:00
|
|
|
PORTREVISION= 1
|
2001-07-20 13:21:15 +02:00
|
|
|
CATEGORIES= audio ruby
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/ruby-${PORTNAME}/ruby-${PORTNAME}/${PORTVERSION}
|
2001-07-20 13:21:15 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-07-26 07:17:02 +02:00
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
2001-07-20 13:21:15 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CDDB_DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2011-11-01 23:59:35 +01:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 05:24:40 +01:00
|
|
|
COMMENT= A Ruby binding to the audiofile library
|
2001-07-20 13:21:15 +02:00
|
|
|
|
2013-11-08 15:31:40 +01:00
|
|
|
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
|
2001-07-20 13:21:15 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2001-07-20 13:21:15 +02:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2001-07-26 07:17:02 +02:00
|
|
|
CDDB_DISTNAME= cddb-0.2
|
|
|
|
CDDB_WRKSRC= ${WRKDIR}/example
|
2001-08-30 10:56:49 +02:00
|
|
|
|
2001-07-20 13:21:15 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2006-11-20 00:49:47 +01:00
|
|
|
REINPLACE_ARGS= -i ""
|
2001-07-20 13:21:15 +02:00
|
|
|
|
2003-08-10 12:28:10 +02:00
|
|
|
DOCS= audiofile.rd
|
2001-07-20 13:21:15 +02:00
|
|
|
|
|
|
|
post-patch:
|
2006-11-20 00:49:47 +01:00
|
|
|
${REINPLACE_CMD} -E -e "s,/home/jaredj/ruby-lib/(cddb),\1,g" \
|
2001-07-26 07:17:02 +02:00
|
|
|
${CDDB_WRKSRC}/wavcddb
|
2001-07-20 13:21:15 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/cddb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${INSTALL_DATA} ${CDDB_WRKSRC}/* ${RUBY_MODEXAMPLESDIR}/cddb/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2006-11-20 00:49:47 +01:00
|
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
|
2001-07-20 13:21:15 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|