aboutsummaryrefslogtreecommitdiffstats
path: root/security/rubygem-net-ssh/Makefile
blob: e2a08775a070ac72afaeae823673f5b7d39d7522 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    rubygem-net-ssh
# Date created:             14 January 2006
# Whom:                 Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
#
# $FreeBSD$
#

PORTNAME=   net-ssh
PORTVERSION=    1.0.8
CATEGORIES= security rubygems
MASTER_SITES=   http://rubyforge.org/frs/download.php/8660/

MAINTAINER= r.s.a.vandomburg@student.utwente.nl
COMMENT=    Non-interactive SSH processing

BUILD_DEPENDS=  ${LOCALBASE}/${SPEC_DIR}/needle-1.3.0.gemspec:${PORTSDIR}/devel/rubygem-needle

OPTIONS=    PROMPT_PASSPHRASES "Prompt for passphrases on keys" On
OPTIONSFILE=    ${PORT_DBDIR}/rubygem-${PORTNAME}/options

# to get RUBY_SITEARCHLIBDIR
USE_RUBY=   yes

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_PROMPT_PASSPHRASES)
RUN_DEPENDS+=   ${RUBY_SITEARCHLIBDIR}/termios.so:${PORTSDIR}/comms/ruby-termios
.endif

post-install:
    @${ECHO_MSG} "You may safely ignore any 'Skipping require of dynamic string' messages."

.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>