aboutsummaryrefslogtreecommitdiffstats
path: root/security/mussh/Makefile
blob: d365e177e74b5e5e885880c0bcf3a38cdf0a1755 (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
35
36
37
38
39
# New ports collection makefile for:    mussh
# Date created:             24 January 2002
# Whom:                 Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=   mussh
PORTVERSION=    0.6
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= laszlof@vonostingroup.com
COMMENT=    A tool for easily running the same commands on multiple hosts

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash2

NO_BUILD=   yes
PORTDOCS=   BUGS CHANGES EXAMPLES README
PLIST_FILES=    bin/mussh
WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e "s,^#!/bin/bash,#!/usr/bin/env bash,g" \
        ${WRKSRC}/${PORTNAME}

do-install:
    @${MKDIR} ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>