Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= secpanel |
4 |
PORTNAME= secpanel |
5 |
PORTVERSION= 0.6.1 |
5 |
PORTVERSION= 0.6.1 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
7 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
8 |
CATEGORIES= security tcl tk |
8 |
CATEGORIES= security tcl tk |
9 |
MASTER_SITES= SF/${PORTNAME} \ |
9 |
MASTER_SITES= SF/${PORTNAME} \ |
Lines 20-32
Link Here
|
20 |
|
20 |
|
21 |
RUN_DEPENDS= ssh-askpass:security/openssh-askpass |
21 |
RUN_DEPENDS= ssh-askpass:security/openssh-askpass |
22 |
|
22 |
|
|
|
23 |
USES= tk:wrapper |
24 |
|
25 |
OPTIONS_RADIO= TERMINAL |
26 |
OPTIONS_RADIO_TERMINAL= GNOME-TERMINAL MATE-TERMINAL |
27 |
OPTIONS_DEFAULT= GNOME-TERMINAL |
28 |
|
29 |
GNOME-TERMINAL_DESC= build with gnome-terminal |
30 |
MATE-TERMINAL_DESC= build with mate-terminal (you need mate-desktop) |
31 |
GNOME-TERMINAL_RUN_DEPENDS= gnome-terminal>=3.0.0:x11/gnome-terminal |
32 |
MATE-TERMINAL_RUN_DEPENDS= mate-terminal:x11/mate-terminal |
33 |
|
23 |
WRKSRC= ${WRKDIR}/usr/local |
34 |
WRKSRC= ${WRKDIR}/usr/local |
24 |
NO_BUILD= yes |
35 |
NO_BUILD= yes |
25 |
|
36 |
|
26 |
USES= tk:wrapper |
37 |
.include <bsd.port.options.mk> |
27 |
|
38 |
|
28 |
DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" "" false |
39 |
.if ${PORT_OPTIONS:MMATE-TERMINAL} |
|
|
40 |
USE_MATE= desktop |
41 |
.endif |
29 |
|
42 |
|
|
|
43 |
DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" "" ${FALSE} |
44 |
|
30 |
post-patch: |
45 |
post-patch: |
31 |
@${REINPLACE_CMD} \ |
46 |
@${REINPLACE_CMD} \ |
32 |
-e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \ |
47 |
-e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \ |