diff options
-rw-r--r-- | security/secpanel/Makefile | 21 | ||||
-rw-r--r-- | security/secpanel/distinfo | 6 |
2 files changed, 12 insertions, 15 deletions
diff --git a/security/secpanel/Makefile b/security/secpanel/Makefile index 5724aa6552fe..bc8afcd58b9f 100644 --- a/security/secpanel/Makefile +++ b/security/secpanel/Makefile @@ -6,10 +6,10 @@ # PORTNAME= secpanel -PORTVERSION= 0.6.0 +PORTVERSION= 0.6.1 PORTEPOCH= 1 CATEGORIES= security tcl tk -MASTER_SITES= http://themediahost.de/secpanel/data/ CENKES +MASTER_SITES= SF/${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org @@ -17,22 +17,19 @@ COMMENT= GUI for managing and running ssh and related utilities RUN_DEPENDS= ssh-askpass:${PORTSDIR}/security/openssh-askpass -USE_TK_RUN= 84 +WRKSRC= ${WRKDIR}/usr/local NO_BUILD= yes -post-extract: - @${MV} ${WRKDIR}/usr ${WRKSRC} - @${CHMOD} -R a+rX ${WRKSRC}/ - @${RM} -rf ${WRKSRC}/local/lib/secpanel/out/ +USE_TK_WRAPPER= yes post-patch: - @${REINPLACE_CMD} -e 's!^exec wish!exec ${WISH}!' \ + @${REINPLACE_CMD} \ -e 's!\[file dirname \[info script\]\]/../lib/secpanel!${DATADIR}!' \ - -e 's!askpassbin askpass!askpassbin ssh-askpass!' \ - ${WRKSRC}/local/bin/secpanel + ${WRKSRC}/bin/secpanel do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/local/bin/secpanel ${PREFIX}/bin/ - @cd ${WRKSRC}/local/lib/secpanel/&&${COPYTREE_SHARE} . ${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin + @(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${DATADIR}) + @${CHMOD} u+rw ${DATADIR}/default.config .include <bsd.port.mk> diff --git a/security/secpanel/distinfo b/security/secpanel/distinfo index 7d60e96cd0b2..f27198efd01d 100644 --- a/security/secpanel/distinfo +++ b/security/secpanel/distinfo @@ -1,3 +1,3 @@ -MD5 (secpanel-0.6.0.tgz) = 5dd1c5a773a96cb7092d3c52a552e298 -SHA256 (secpanel-0.6.0.tgz) = 0173d41f6619c95609d38d54f00168b020cc77c5860f690bfe2ac11e4b11639c -SIZE (secpanel-0.6.0.tgz) = 51713 +MD5 (secpanel-0.6.1.tgz) = c94e598bc66d38421333b74a28abaa17 +SHA256 (secpanel-0.6.1.tgz) = d70a0e7fe3f0d64b4fd6e9d9bd726999e72b367705e28a2980d94a5d45e1bbb7 +SIZE (secpanel-0.6.1.tgz) = 51417 |