40 lines
839 B
Makefile
40 lines
839 B
Makefile
# New ports collection makefile for: Ruby/fcgi
|
|
# Date created: 7 December 2002
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fcgi
|
|
PORTVERSION= 0.8.3
|
|
CATEGORIES= www ruby
|
|
MASTER_SITES= http://www.moonwolf.com/ruby/archive/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= FastCGI library for Ruby
|
|
|
|
LIB_DEPENDS= fcgi.0:${PORTSDIR}/www/fcgi
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/ext/fcgi
|
|
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
|
|
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= README README.signals
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|