1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/sysutils/sshsudo/Makefile
Sunpoet Po-Chuan Hsieh 8f1feae058 Clean up Makefile
- Update RUN_DEPENDS: remove redundant LOCALBASE/bin
- Remove GH_PROJECT
- Add NO_ARCH
- Update WWW: remove trailing slash

Approved by:	portmgr (blanket)
2017-03-26 21:25:05 +00:00

34 lines
699 B
Makefile

# Created by: Hung-Yi Chen <gaod@hychen.org>
# $FreeBSD$
PORTNAME= sshsudo
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= gaod@hychen.org
COMMENT= Bash script to run sudo command on multiple remote computers
LICENSE= GPLv3
RUN_DEPENDS= bash:shells/bash \
sshpass>=0:security/sshpass
USE_GITHUB= yes
GH_ACCOUNT= gaod
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/sshsudo
post-patch:
${SED} -e "s,/bin/bash,${LOCALBASE}/bin/bash," -e "s,mktemp,mktemp -t sshsudo," \
<${WRKSRC}/${PORTNAME}-${PORTVERSION}/${PORTNAME} >${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>