blob: 5dca9d6c15d1cb6b0e5f2fc43bd3dc88b278f6cb (
plain) (
tree)
|
|
# Ports collection makefile for: mongrel_cluster
# Date created: 20 May 2006
# Whom: Rui Lopes (<rgl ruilopes com>)
#
# $FreeBSD$
PORTNAME= mongrel_cluster
PORTVERSION= 1.0.5
PORTREVISION= 2
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Manages multiple Mongrel processes
RUN_DEPENDS= rubygem-mongrel>=1.0.2:${PORTSDIR}/www/rubygem-mongrel
USE_RC_SUBR= mongrel_cluster
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
REINPLACE_ARGS= -i ""
PLIST_FILES= bin/mongrel_cluster_ctl
post-install:
@${REINPLACE_CMD} -e 's|/usr/bin/env ruby|${RUBY}|' ${PREFIX}/bin/mongrel_cluster_ctl
@${REINPLACE_CMD} -e 's|mongrel_rails|${PREFIX}/bin/mongrel_rails|g' \
${PREFIX}/${GEM_LIB_DIR}/bin/mongrel_cluster_ctl
@${REINPLACE_CMD} -e 's|\"mongrel_rails\"|\"${PREFIX}/bin/mongrel_rails\"|g' \
${PREFIX}/${GEM_LIB_DIR}/lib/${PORTNAME}/init.rb
.include <bsd.port.mk>
|