1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/www/ruby-webrick/Makefile
2003-08-14 12:21:48 +00:00

40 lines
899 B
Makefile

# New ports collection makefile for: WEBrick
# Date created: 7 February 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= webrick
PORTVERSION= 1.3.1
CATEGORIES= www ruby
MASTER_SITES= http://www.notwork.org/ipr/webrick/src/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= An HTTP server toolkit for Ruby
# optional dependencies
#RUN_DEPENDS= ${RUBY_SITELIBDIR}/erb/erb.rb:${PORTSDIR}/textproc/ruby-erb \
# ${RUBY_SITELIBDIR}/openssl.rb:${PORTSDIR}/security/ruby-openssl
USE_RUBY= yes
NO_BUILD= yes
DOCS= ChangeLog README doc/*
do-install:
cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>