2002-11-12 21:29:26 +00:00
|
|
|
# New ports collection makefile for: Ruby/TServer
|
|
|
|
# Date created: 13 November 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tserver
|
2003-01-01 16:29:01 +00:00
|
|
|
PORTVERSION= 0.0.4
|
2002-11-12 21:29:26 +00:00
|
|
|
CATEGORIES= net ruby
|
|
|
|
MASTER_SITES= http://www.tmtm.org/ruby/tserver/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= A Ruby library for writing a preforking server like Apache
|
2002-11-12 21:29:26 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
|
|
|
RUBY_SHEBANG_FILES= ${WRKSRC}/sample/*
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tserver.rb ${RUBY_SITELIBDIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|