1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/ruby-uri/Makefile
Akinori MUSHA c68548820c Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
2000-09-26 08:02:17 +00:00

44 lines
860 B
Makefile

# New ports collection makefile for: Ruby-uri
# Date created: 14 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= uri
PORTVERSION= 4.22
CATEGORIES= net ruby
MASTER_SITES= http://www02.so-net.ne.jp/%7Egreentea/ruby/uri/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
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
.if !defined(NOPORTDOCS)
${MKDIR} ${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
.endif
.include <bsd.port.mk>