mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
fdace0540e
PR: 162628 Submitted by: Armin Pirkovitsch <armin@frozen-zone.org> Feature safe: yes
40 lines
867 B
Makefile
40 lines
867 B
Makefile
# New ports collection makefile for: mussh
|
|
# Date created: 24 January 2002
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mussh
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A tool for easily running the same commands on multiple hosts
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
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" \
|
|
-e "s,seq 1 ,jot 1 ,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>
|