2001-03-31 14:02:47 +02:00
|
|
|
# New ports collection makefile for: Ruby/http-access
|
|
|
|
# Date created: 31 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= http-access
|
2004-12-25 18:44:27 +01:00
|
|
|
PORTVERSION= 2.0.5
|
2001-03-31 14:02:47 +02:00
|
|
|
CATEGORIES= www ruby
|
2003-09-10 14:20:36 +02:00
|
|
|
MASTER_SITES= http://rrr.jin.gr.jp/download/
|
2001-03-31 14:02:47 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2003-09-10 14:20:36 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
|
2001-03-31 14:02:47 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A Ruby library to access the Internet via HTTP
|
2001-03-31 14:02:47 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
2001-08-12 08:41:10 +02:00
|
|
|
cd ${WRKSRC}; ${RUBY} install.rb
|
2003-01-11 09:53:55 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2003-09-10 14:20:36 +02:00
|
|
|
${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
2003-01-11 09:53:55 +01:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_MODDOCDIR}/
|
|
|
|
.endif
|
2001-03-31 14:02:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|