mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e1bfdfbe56
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
36 lines
960 B
Makefile
36 lines
960 B
Makefile
# 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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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>
|