30 lines
646 B
Makefile
30 lines
646 B
Makefile
# 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
|
|
PORTVERSION= 2.F
|
|
CATEGORIES= www ruby
|
|
MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/http-access/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${RUBY} install.rb
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|