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} \
|
2013-11-07 23:35:19 +01:00
|
|
|
SF/nemysisfreebsdp/security/:icons
|
2012-12-02 14:11:25 +01:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tgz \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tgz
|
|
|
|
|
2013-11-07 23:35:19 +01:00
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
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
|
|
|
|
|
2014-01-14 10:24:56 +01:00
|
|
|
USES= tk:wrapper
|
2007-05-29 10:31:14 +02:00
|
|
|
|
2013-11-07 23:35:19 +01:00
|
|
|
DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" \
|
2013-01-23 00:13:41 +01:00
|
|
|
"${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:
|
2013-11-07 23:35:19 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
@${CHMOD} u+rw ${STAGEDIR}${DATADIR}/default.config
|
2001-06-26 05:28:12 +02:00
|
|
|
|
2013-11-07 23:35:19 +01:00
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
2012-12-02 14:11:25 +01:00
|
|
|
|
2001-06-26 05:28:12 +02:00
|
|
|
.include <bsd.port.mk>
|