View | Details | Raw Unified | Return to bug 117259
Collapse All | Expand All

(-)Makefile (-1 / +8 lines)
Lines 6-12 Link Here
6
6
7
PORTNAME=	mongrel_cluster
7
PORTNAME=	mongrel_cluster
8
PORTVERSION=	1.0.2
8
PORTVERSION=	1.0.2
9
PORTREVISION=	1
9
PORTREVISION=	2
10
CATEGORIES=	www rubygems
10
CATEGORIES=	www rubygems
11
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
11
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
12
MASTER_SITE_SUBDIR=	mongrel
12
MASTER_SITE_SUBDIR=	mongrel
Lines 18-23 Link Here
18
RUN_DEPENDS=	${BUILD_DEPENDS}
18
RUN_DEPENDS=	${BUILD_DEPENDS}
19
19
20
USE_RC_SUBR=	mongrel_cluster
20
USE_RC_SUBR=	mongrel_cluster
21
USE_RUBY=	yes
22
REINPLACE_ARGS=	-i ""
21
23
22
# This target is only meant to be used by the port maintainer.
24
# This target is only meant to be used by the port maintainer.
23
x-generate-plist:
25
x-generate-plist:
Lines 35-40 Link Here
35
37
36
post-install:
38
post-install:
37
	${RMDIR} ${PREFIX}/${GEM_DOC_DIR}
39
	${RMDIR} ${PREFIX}/${GEM_DOC_DIR}
40
	@${REINPLACE_CMD} -e 's|/usr/bin/env ruby|${RUBY}|' ${PREFIX}/bin/mongrel_cluster_ctl
41
	@${REINPLACE_CMD} -e 's|mongrel_rails|${PREFIX}/bin/mongrel_rails|g' \
42
		${PREFIX}/${GEM_LIB_DIR}/bin/mongrel_cluster_ctl
43
	@${REINPLACE_CMD} -e 's|\"mongrel_rails\"|\"${PREFIX}/bin/mongrel_rails\"|g' \
44
		${PREFIX}/${GEM_LIB_DIR}/lib/${PORTNAME}/init.rb
38
45
39
.include <bsd.port.pre.mk>
46
.include <bsd.port.pre.mk>
40
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
47
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
(-)files/mongrel_cluster.in (-2 / +2 lines)
Lines 38-44 Link Here
38
	warn "${mongrel_cluster_conf_dir} is not a directory."
38
	warn "${mongrel_cluster_conf_dir} is not a directory."
39
	return 1
39
	return 1
40
    fi
40
    fi
41
    ${command} $1 ${mongrel_cluster_flags} ${command_args} 2>&1 | grep -v "procfs" | grep -v "up-to-date"
41
    ${command} $1 ${mongrel_cluster_flags} ${command_args} 2>&1 | grep -v "procfs"
42
}
42
}
43
			    
43
44
run_rc_command "$1"
44
run_rc_command "$1"

Return to bug 117259