freebsd-ports/sysutils/rubygem-capistrano/Makefile
Stanislav Sedov fae8e0f615 - Add ruby 1.9 support
- Implement new knobs for gems and rake (these are included in
  ruby 1.9 distribution already). Also move gem bits from
  ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend
  on gems or rake you should define USE_RUBYGEMS/USE_RAKE
  accordingly. Also RAKE_BIN variable is provided for
  pointing to the right rake executable.
- Rewrite RUBY_SCHEBANG in awk to eliminate build dependency
  on ruby.

Discussed with:	Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer)
Tested by:	ports@
2008-04-06 08:58:21 +00:00

33 lines
1.1 KiB
Makefile

# New ports collection makefile for: rubygem-capistrano
# Date created: 22 March 2006
# Whom: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
#
# $FreeBSD$
#
PORTNAME= capistrano
PORTVERSION= 2.2.0
CATEGORIES= sysutils rubygems
MASTER_SITES= RF
MAINTAINER= r.s.a.vandomburg@nedforce.nl
COMMENT= A utility for executing commands in parallel on multiple machines
RUN_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/net-sftp-1.1.0.gemspec:${PORTSDIR}/security/rubygem-net-sftp \
rubygem-highline>=1.4.0:${PORTSDIR}/devel/rubygem-highline
USE_RUBY= yes
USE_RAKE= yes
USE_RUBYGEMS= yes
post-install:
@${ECHO_MSG} "======================================================================"
@${ECHO_MSG}
@${ECHO_MSG} "If upgrading/switching from SwitchTower to Capistrano, be sure to:"
@${ECHO_MSG} " - pkg_delete ${PKG_DBDIR}/rubygem-switchtower-*"
@${ECHO_MSG} " - for all Rails projects, execute \"cap -A .\", keeping deploy.rb"
@${ECHO_MSG} " - for all Rails projects, remove lib/tasks/switchtower.rake"
@${ECHO_MSG}
@${ECHO_MSG} "======================================================================"
.include <bsd.port.mk>