freebsd-ports/security/unssh/Makefile

36 lines
823 B
Makefile
Raw Normal View History

# New ports collection makefile for: unssh
# Date created: 30 July 2009
# Whom: Dax Labrador <semprix@bsdmail.org>
#
# $FreeBSD$
#
PORTNAME= unssh
PORTVERSION= 1.4
CATEGORIES= security
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME:L}/${PORTNAME:L}-${PORTVERSION}
MAINTAINER= semprix@bsdmail.org
COMMENT= Fast way to delete entries from OpenSSH known_hosts file
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
PLIST_FILES= bin/unssh
PATCH_LIST= extra-patch-unssh.sh
EXTRA_PATCHES= ${PATCH_LIST:C|^|${WRKDIR}/|g}
pre-patch:
.for patch in ${PATCH_LIST}
@${SED} ${_SUB_LIST_TEMP} ${FILESDIR}/${patch}.in > ${WRKDIR}/${patch}
.endfor
do-install:
@${INSTALL} -d ${PREFIX}/bin
@${CP} ${WRKSRC}/unssh.sh ${PREFIX}/bin/unssh
@${CHMOD} ${BINMODE} ${PREFIX}/bin/unssh
.include <bsd.port.mk>