Lines 7-20
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= secpanel |
8 |
PORTNAME= secpanel |
9 |
PORTVERSION= 0.6.1 |
9 |
PORTVERSION= 0.6.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
PORTEPOCH= 1 |
11 |
PORTEPOCH= 1 |
11 |
CATEGORIES= security tcl tk |
12 |
CATEGORIES= security tcl tk |
12 |
MASTER_SITES= SF/${PORTNAME} |
13 |
MASTER_SITES= SF/${PORTNAME} \ |
13 |
EXTRACT_SUFX= .tgz |
14 |
SF/nemysisfreebsdp/:icons |
|
|
15 |
DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz \ |
16 |
${PORTNAME}.png:icons |
17 |
DIST_SUBDIR= ${PORTNAME} |
18 |
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.tgz |
14 |
|
19 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
20 |
MAINTAINER= nemysis@gmx.ch |
16 |
COMMENT= GUI for managing and running ssh and related utilities |
21 |
COMMENT= GUI for managing and running ssh and related utilities |
17 |
|
22 |
|
|
|
23 |
LICENSE= GPLv2 |
24 |
|
18 |
RUN_DEPENDS= ssh-askpass:${PORTSDIR}/security/openssh-askpass |
25 |
RUN_DEPENDS= ssh-askpass:${PORTSDIR}/security/openssh-askpass |
19 |
|
26 |
|
20 |
WRKSRC= ${WRKDIR}/usr/local |
27 |
WRKSRC= ${WRKDIR}/usr/local |
Lines 22-35
Link Here
|
22 |
|
29 |
|
23 |
USE_TK_WRAPPER= yes |
30 |
USE_TK_WRAPPER= yes |
24 |
|
31 |
|
|
|
32 |
DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" \ |
33 |
"${PORTNAME}" "Application;System;" ${FALSE} |
34 |
|
25 |
post-patch: |
35 |
post-patch: |
26 |
@${REINPLACE_CMD} \ |
36 |
@${REINPLACE_CMD} \ |
27 |
-e 's!\[file dirname \[info script\]\]/../lib/secpanel!${DATADIR}!' \ |
37 |
-e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \ |
28 |
${WRKSRC}/bin/secpanel |
38 |
${WRKSRC}/bin/secpanel |
29 |
|
39 |
|
30 |
do-install: |
40 |
do-install: |
31 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin |
41 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/secpanel ${PREFIX}/bin |
32 |
@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${DATADIR}) |
42 |
@(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} \* ${DATADIR}) |
33 |
@${CHMOD} u+rw ${DATADIR}/default.config |
43 |
@${CHMOD} u+rw ${DATADIR}/default.config |
34 |
|
44 |
|
|
|
45 |
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps |
46 |
|
35 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |