1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/secpanel/Makefile
David W. Chapman Jr. 07f073e517 Add secpanel, a GUI frontend for ssh and openssh
PR:		28079
Submitted by:	Pete Fritchman <petef@databits.net>
2001-06-26 03:28:12 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: secpanel
# Date created: 11 June 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= secpanel
PORTVERSION= 0.31
CATEGORIES= security
MASTER_SITES= http://www2.wiwi.uni-marburg.de/~leich/soft/secpanel/
MAINTAINER= petef@databits.net
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
ssh-askpass:${PORTSDIR}/security/openssh-askpass
USE_X_PREFIX= yes
NO_BUILD= yes
post-patch:
@${PERL} -pi -e 's!^exec wish!exec wish8.3!; \
s!\[file dirname \[info script\]\]/../lib/secpanel!${PREFIX}/share/secpanel! ; \
s!askpassbin askpass!askpassbin ssh-askpass!' ${WRKSRC}/src/bin/secpanel
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/bin/secpanel ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/secpanel
.for file in gui.tcl listserver.tcl secpanel.dist secpanel.wait
${INSTALL_SCRIPT} ${WRKSRC}/src/lib/secpanel/${file} ${PREFIX}/share/secpanel
.endfor
@${MKDIR} ${PREFIX}/share/secpanel/images
.for file in configs.gif connects.gif keys.gif profiles.gif scp.gif
${INSTALL_DATA} ${WRKSRC}/src/lib/secpanel/images/${file} \
${PREFIX}/share/secpanel/images
.endfor
.include <bsd.port.mk>