Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= vidalia |
8 |
PORTNAME= vidalia |
9 |
PORTVERSION= 0.2.9 |
9 |
PORTVERSION= 0.2.10 |
10 |
CATEGORIES= net-mgmt security |
10 |
CATEGORIES= net-mgmt security |
11 |
MASTER_SITES= http://www.torproject.org/vidalia/dist/ |
11 |
MASTER_SITES= http://www.torproject.org/vidalia/dist/ |
12 |
|
12 |
|
Lines 20-52
Link Here
|
20 |
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build network xml linguist_build |
20 |
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build network xml linguist_build |
21 |
MAKE_JOBS_SAFE= yes |
21 |
MAKE_JOBS_SAFE= yes |
22 |
|
22 |
|
23 |
HAVE_TOR!= if pkg_info -I tor-\* >/dev/null 2>&1 ; then ${ECHO} YES; fi |
23 |
.include <bsd.port.mk> |
24 |
|
|
|
25 |
.if (${HAVE_TOR} == "YES") |
26 |
HAVE_TOR_DEVEL!= if pkg_info -I tor-devel\* >/dev/null 2>&1 ; then ${ECHO} YES; fi |
27 |
|
28 |
.if (${HAVE_TOR_DEVEL} == "YES") |
29 |
OPTIONS= TOR_DEVEL "Depend on tor-devel (already installed)" On |
30 |
.else |
31 |
OPTIONS= TOR "Depend on tor (already installed)" On |
32 |
.endif |
33 |
|
34 |
.else |
35 |
|
36 |
OPTIONS= TOR_DEVEL "Depend on tor-devel" On \ |
37 |
TOR "Depend on tor" Off |
38 |
|
39 |
.endif |
40 |
|
41 |
.include <bsd.port.pre.mk> |
42 |
|
43 |
.if defined(WITH_TOR_DEVEL) |
44 |
.if defined(WITH_TOR) |
45 |
IGNORE= cannot depend on tor and tor-devel at the same time |
46 |
.endif |
47 |
RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel |
48 |
.elif defined(WITH_TOR) |
49 |
RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor |
50 |
.endif |
51 |
|
52 |
.include <bsd.port.post.mk> |