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
|
2006-08-08 13:35:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
2002-01-16 12:35:24 +01:00
|
|
|
MASTER_SITE_SUBDIR= ruby-${PORTNAME}
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2006-11-29 11:41:36 +01:00
|
|
|
MAINTAINER= stas@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_MODDOCDIR}
|
2006-11-29 11:41:36 +01:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/)
|
2002-01-16 12:35:24 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|