2012-12-02 14:11:25 +01:00
|
|
|
# Created by: Pete Fritchman <petef@databits.net>
|
2001-06-26 05:28:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= secpanel
|
2010-07-15 09:28:49 +02:00
|
|
|
PORTVERSION= 0.6.1
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 2
|
2003-12-21 18:52:11 +01:00
|
|
|
PORTEPOCH= 1
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= security tcl tk
|
2012-12-02 14:11:25 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME} \
|
|
|
|
SF/nemysisfreebsdp/:icons
|
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tgz
|
|
|
|
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= GUI for managing and running ssh and related utilities
|
2001-06-26 05:28:12 +02:00
|
|
|
|
2012-12-02 14:11:25 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2006-05-04 14:20:09 +02:00
|
|
|
RUN_DEPENDS= ssh-askpass:${PORTSDIR}/security/openssh-askpass
|
2001-06-26 05:28:12 +02:00
|
|
|
|
2010-07-15 09:28:49 +02:00
|
|
|
WRKSRC= ${WRKDIR}/usr/local
|
2001-06-26 05:28:12 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2010-07-15 09:28:49 +02:00
|
|
|
USE_TK_WRAPPER= yes
|
2007-05-29 10:31:14 +02:00
|
|
|
|
2013-01-23 00:13:41 +01:00
|
|
|
DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
|
|
|
|
"${PORTNAME}" "" "false"
|
2012-12-02 14:11:25 +01:00
|
|
|
|
2001-06-26 05:28:12 +02:00
|
|
|
post-patch:
|
2010-07-15 09:28:49 +02:00
|
|
|
@${REINPLACE_CMD} \
|
2012-12-02 14:11:25 +01:00
|
|
|
-e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \
|
2010-07-15 09:28:49 +02:00
|
|
|
${WRKSRC}/bin/secpanel
|
2001-06-26 05:28:12 +02:00
|
|
|
|
|
|
|
do-install:
|
2010-07-15 09:28:49 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin
|
2012-12-02 14:11:25 +01:00
|
|
|
@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} \* ${DATADIR})
|
2010-07-15 09:28:49 +02:00
|
|
|
@${CHMOD} u+rw ${DATADIR}/default.config
|
2001-06-26 05:28:12 +02:00
|
|
|
|
2012-12-02 14:11:25 +01:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
|
|
|
|
2001-06-26 05:28:12 +02:00
|
|
|
.include <bsd.port.mk>
|