aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fanout/Makefile
blob: e7e01d1a87a18e31effff19fe2590869cf65cb7b (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
# New ports collection makefile for:    fanout
# Date created:             20.01.2005
# Whom:                 janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=   fanout
PORTVERSION=    0.6.1
CATEGORIES= sysutils
MASTER_SITES=   http://www.stearns.org/fanout/ \
        ftp://ftp.bascom.com/pub/wstearns/fanout/ \
        http://www.linuxgrill.com/anonymous/mirrors/wstearns/fanout/

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Tool to run commands on multiple machines

USE_PERL5_RUN=  yes
NO_BUILD=   yes
PLIST_FILES=    bin/fanout bin/fanterm bin/fanmux
.if !defined(NOPORTDOCS)
PORTDOCS=   README index.html
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
        ${WRKSRC}/fanterm
    @${REINPLACE_CMD} -e 's,%%PERL%%,${PERL},g' \
        ${WRKSRC}/fanmux

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/fanout ${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKSRC}/fanterm ${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKSRC}/fanmux ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>