freebsd-ports/audio/ruby-audiofile/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= audiofile
2003-08-10 12:28:10 +02:00
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= audio ruby
MASTER_SITES= SF/ruby-${PORTNAME}/ruby-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
2001-07-26 07:17:02 +02:00
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CDDB_DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
2003-02-18 05:24:40 +01:00
COMMENT= A Ruby binding to the audiofile library
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
USE_RUBY= yes
NO_STAGE= yes
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
INSTALL_TARGET= site-install
REINPLACE_ARGS= -i ""
2003-08-10 12:28:10 +02:00
DOCS= audiofile.rd
post-patch:
${REINPLACE_CMD} -E -e "s,/home/jaredj/ruby-lib/(cddb),\1,g" \
2001-07-26 07:17:02 +02:00
${CDDB_WRKSRC}/wavcddb
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}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>