2000-09-05 20:26:28 +02:00
|
|
|
# New ports collection makefile for: Ruby EB
|
|
|
|
# Date created: 6 Sep 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eb
|
2004-04-18 20:03:23 +02:00
|
|
|
PORTVERSION= 2.5
|
2005-07-31 09:17:11 +02:00
|
|
|
PORTREVISION= 2
|
2000-09-05 20:26:28 +02:00
|
|
|
CATEGORIES= japanese ruby
|
2003-01-26 16:03:48 +01:00
|
|
|
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
#MASTER_SITE_SUBDIR= ruby${PORTNAME}
|
|
|
|
MASTER_SITES= http://ruby${PORTNAME}.sourceforge.net/
|
|
|
|
DISTNAME= ruby${PORTNAME}-${PORTVERSION}
|
2000-09-05 20:26:28 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 02:18:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= Ruby bind of EB library
|
2000-09-05 20:26:28 +02:00
|
|
|
|
2005-07-31 09:17:11 +02:00
|
|
|
LIB_DEPENDS= eb.10:${PORTSDIR}/japanese/eb
|
2000-09-07 09:44:38 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-09-05 20:26:28 +02:00
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2003-01-22 21:35:03 +01:00
|
|
|
EXAMPLES= hook2.rb test.rb
|
|
|
|
|
2000-09-05 20:26:28 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-09-07 09:44:38 +02:00
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
2000-09-05 20:26:28 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/
|
2003-01-22 21:35:03 +01:00
|
|
|
.for f in ${EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ja/
|
|
|
|
.endfor
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/eb.html ${RUBY_MODDOCDIR}/ja/
|
2000-09-05 20:26:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|