1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/ruby-webrick/Makefile
2002-02-15 11:26:01 +00:00

39 lines
894 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.1.5
CATEGORIES= www ruby
MASTER_SITES= http://www.notwork.org/ipr/webrick/src/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
# 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_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>