aboutsummaryrefslogtreecommitdiffstats
path: root/security/mussh/Makefile
blob: c4840ba7dcb08794cd94af996c911f184d98c02b (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
40
41
# Created by: Yen-Ming Lee <leeym@leeym.com>
# $FreeBSD$

PORTNAME=   mussh
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   SF

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    Tool for easily running the same commands on multiple hosts

LICENSE=    GPLv2

RUN_DEPENDS=    bash:shells/bash

USES=       shebangfix tar:tgz

WRKSRC=     ${WRKDIR}/${PORTNAME}

SHEBANG_FILES=  ${WRKSRC}/${PORTNAME}
NO_BUILD=   yes
NO_ARCH=    yes

PORTDOCS=   BUGS CHANGES EXAMPLES README
PLIST_FILES=    bin/mussh man/man1/mussh.1.gz

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>