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