summaryrefslogblamecommitdiff
path: root/sysutils/fanout/Makefile
blob: eddcda5141551b36aea5ce0fb15ded6ddd3a9e54 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                  
           







                                                                            
                               

                                                         

                     
                   
                                                 
                                 







                                                               




                                                                         

                      
# Created by: 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=	jmohacsi@bsd.hu
COMMENT=	Tool to run commands on multiple machines

USES=		perl5
USE_PERL5=	run
NO_BUILD=	yes
PLIST_FILES=	bin/fanout bin/fanterm bin/fanmux
PORTDOCS=	README index.html

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 ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/fanterm ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/fanmux ${STAGEDIR}${PREFIX}/bin/
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>