summaryrefslogtreecommitdiff
path: root/www/ruby-uri/Makefile
blob: 79ab266364e65e0989bf3e867843c2fb0bd1899b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:29:22 taca Exp $
# FreeBSD: ports/net/ruby-uri/Makefile,v 1.7 2000/12/25 15:54:08 knu Exp

DISTNAME=	uri-4.27
PKGNAME=	${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES=	www
MASTER_SITES=	http://www02.so-net.ne.jp/~greentea/ruby/uri/

MAINTAINER=	taca@netbsd.org
HOMEPAGE=	http://www02.so-net.ne.jp/%7Egreentea/ruby/uri/
COMMENT=	Ruby interface to parse URIs according to RFC 2396

DIST_SUBDIR=	ruby
USE_RUBY=	yes
NO_BUILD=	yes

WRKSRC=		${WRKDIR}/uri

MODULES=	uri.rb urireg.rb
DOCS=		index.html
EXAMPLES=	in-uri.txt test-uri.rb

do-install:
.for f in ${MODULES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}
.endfor
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/uri
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/uri
.endfor
	${MKDIR} ${RUBY_DOCDIR}/uri
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/uri
.endfor

.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"