forked from Lainports/freebsd-ports
remove x-generate-plist and friends
- use RF macro and remove SUBDIR where possible
- remove some uneeded GEM_NAME=${DISTNAME}
(this c/should be handled better in bsd.*.mk)
other deltas specific to individual ports:
audio/rubygem-mp3info - unbreak, fix packaging, bump PORTREVISION
devel/rubygem-rapt - adopt
devel/rubygem-rspec - remove BUILD_DEPENDS=RUN_DEPENDS -- neither set
devel/rubygem-ruby2ruby - add #' for vim highlight
graphics/rubygem-extifr - drop PORTREVISION=0
graphics/rubygem-gd2 - add #' for vim highlight
www/rubygem-rubyfulsoup - swap GEM_NAME / DISTNAME for constistency
Sponsored by: RideCharge Inc.
Tested on: RideCharge's Tinderbox
Reviewed by: stas
34 lines
990 B
Makefile
34 lines
990 B
Makefile
# 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
|
|
CATEGORIES= www rubygems
|
|
MASTER_SITES= RF
|
|
MASTER_SITE_SUBDIR= mongrel
|
|
|
|
MAINTAINER= ports@logvinov.com
|
|
COMMENT= Manages multiple Mongrel processes
|
|
|
|
BUILD_DEPENDS= rubygem-mongrel>=1.0.2:${PORTSDIR}/www/rubygem-mongrel
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
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:
|
|
${RMDIR} ${PREFIX}/${GEM_DOC_DIR}
|
|
@${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>
|