Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 14:16:27 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351477 - head/sysutils/massadmin
Message-ID:  <201404171416.s3HEGRbO075058@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Apr 17 14:16:26 2014
New Revision: 351477
URL: http://svnweb.freebsd.org/changeset/ports/351477
QAT: https://qat.redports.org/buildarchive/r351477/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/sysutils/massadmin/Makefile

Modified: head/sysutils/massadmin/Makefile
==============================================================================
--- head/sysutils/massadmin/Makefile	Thu Apr 17 13:58:50 2014	(r351476)
+++ head/sysutils/massadmin/Makefile	Thu Apr 17 14:16:26 2014	(r351477)
@@ -9,27 +9,23 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTVERSI
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404171416.s3HEGRbO075058>