2002-02-17 10:21:47 +01:00
|
|
|
# New ports collection makefile for: mussh
|
|
|
|
# Date created: 24 January 2002
|
|
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mussh
|
2007-01-02 17:42:22 +01:00
|
|
|
PORTVERSION= 0.7
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2002-02-17 10:21:47 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-08-19 11:18:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tool for easily running the same commands on multiple hosts
|
2002-02-17 10:21:47 +01:00
|
|
|
|
2006-12-21 14:35:21 +01:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2002-02-17 10:21:47 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2004-02-07 17:14:12 +01:00
|
|
|
PORTDOCS= BUGS CHANGES EXAMPLES README
|
|
|
|
PLIST_FILES= bin/mussh
|
2005-10-19 17:01:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2002-02-17 10:21:47 +01:00
|
|
|
|
|
|
|
post-patch:
|
2005-10-19 17:01:26 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!/usr/bin/env bash,g" \
|
2007-08-08 02:48:31 +02:00
|
|
|
-e "s,seq 1 ,jot 1 ,g" \
|
2002-02-17 10:21:47 +01:00
|
|
|
${WRKSRC}/${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-07 17:14:12 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2004-01-01 16:50:48 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2002-02-17 10:21:47 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|