aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-17 22:16:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-04-17 22:16:26 +0800
commit03f127f2406b91e1676bd5404a02f031bfff1d0f (patch)
treed5e62a46fe53fc5cb991db484dd2a06952c46f07
parent2f6caa2ad368c50cf073cfa65c4c91dddf3d297b (diff)
downloadfreebsd-ports-gnome-03f127f2406b91e1676bd5404a02f031bfff1d0f.tar.gz
freebsd-ports-gnome-03f127f2406b91e1676bd5404a02f031bfff1d0f.tar.zst
freebsd-ports-gnome-03f127f2406b91e1676bd5404a02f031bfff1d0f.zip
- Support staging
- Use shebangfix
-rw-r--r--sysutils/massadmin/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/sysutils/massadmin/Makefile b/sysutils/massadmin/Makefile
index 0cde7072dc95..110016a8e821 100644
--- a/sysutils/massadmin/Makefile
+++ b/sysutils/massadmin/Makefile
@@ -9,27 +9,23 @@ MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= sklauder@trimind.de
COMMENT= Send system commands to a group of remote servers simultaneously
+LICENSE= GPLv3
+
RUN_DEPENDS= p5-Expect>=1.21:${PORTSDIR}/lang/p5-Expect \
p5-Net-Telnet>=3.03:${PORTSDIR}/net/p5-Net-Telnet \
p5-Net-Ping>=2.36:${PORTSDIR}/net/p5-Net-Ping \
p5-Proc-Queue>=1.23:${PORTSDIR}/devel/p5-Proc-Queue \
p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty
+USES= perl5 shebangfix
NO_BUILD= yes
-USES= perl5
-
-LICENSE= GPLv3
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= massadmin.1
-.endif
-PLIST_FILES= bin/massadmin
+SHEBANG_FILES= ${WRKSRC}/${PORTNAME}
+PLIST_FILES= bin/massadmin man/man1/massadmin.1.gz
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/massadmin ${PREFIX}/bin
-.if !defined(NO_INSTALL_MANPAGES)
- (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1)
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>