2002-01-16 12:35:24 +01:00
|
|
|
# New ports collection makefile for: Ruby/Freedb
|
|
|
|
# Date created: 16 January 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freedb
|
2003-02-13 20:43:42 +01:00
|
|
|
PORTVERSION= 0.5
|
2002-01-16 12:35:24 +01:00
|
|
|
CATEGORIES= audio net ruby
|
2003-02-13 20:43:42 +01:00
|
|
|
MASTER_SITES= http://davedd.free.fr/%SUBDIR%/download/
|
2002-01-16 12:35:24 +01:00
|
|
|
MASTER_SITE_SUBDIR= ruby-${PORTNAME}
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:24:40 +01:00
|
|
|
COMMENT= A Ruby library that provides access to Freedb/CDDB servers
|
2002-01-16 12:35:24 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2003-02-13 20:43:42 +01:00
|
|
|
DOCS= CHANGELOG README doc
|
2002-10-12 20:31:45 +02:00
|
|
|
EXAMPLES= examples/*.rb
|
2002-01-16 12:35:24 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2002-01-16 12:35:24 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
2002-01-16 12:35:24 +01:00
|
|
|
.endfor
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2002-01-16 12:35:24 +01:00
|
|
|
.for f in ${DOCS}
|
2003-02-13 20:43:42 +01:00
|
|
|
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-01-16 12:35:24 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|