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" |