Lines 20-27
Link Here
|
20 |
|
20 |
|
21 |
USES= cpe gmake |
21 |
USES= cpe gmake |
22 |
CPE_VENDOR= torproject |
22 |
CPE_VENDOR= torproject |
23 |
#CPE_VERSION= ${DISTVERSION:C/-.*//} |
|
|
24 |
#CPE_UPDATE= ${DISTVERSION:C/.*-//} |
25 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" |
24 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" |
27 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
25 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
Lines 29-34
Link Here
|
29 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
27 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
30 |
|
28 |
|
31 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
29 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
|
|
30 |
OPTIONS_DEFAULT=MANPAGES |
32 |
OPTIONS_SUB= yes |
31 |
OPTIONS_SUB= yes |
33 |
|
32 |
|
34 |
STATIC_TOR_DESC= Build a static tor |
33 |
STATIC_TOR_DESC= Build a static tor |
Lines 35-42
Link Here
|
35 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
34 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
36 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
35 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
37 |
|
36 |
|
38 |
OPTIONS_DEFAULT= MANPAGES |
|
|
39 |
|
40 |
USE_RC_SUBR= tor |
37 |
USE_RC_SUBR= tor |
41 |
SUB_FILES= pkg-message |
38 |
SUB_FILES= pkg-message |
42 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
39 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
Lines 50-60
Link Here
|
50 |
STATIC_TOR_USES= ssl:build |
47 |
STATIC_TOR_USES= ssl:build |
51 |
STATIC_TOR_USES_OFF= ssl |
48 |
STATIC_TOR_USES_OFF= ssl |
52 |
|
49 |
|
53 |
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc |
|
|
54 |
DOCS_CONFIGURE_OFF= --disable-asciidoc |
55 |
|
56 |
.include <bsd.port.options.mk> |
50 |
.include <bsd.port.options.mk> |
57 |
|
51 |
|
|
|
52 |
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} |
53 |
BUILD_DEPENDS+= asciidoc:textproc/asciidoc |
54 |
.else |
55 |
CONFIGURE_ARGS+= --disable-asciidoc |
56 |
.endif |
57 |
|
58 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
58 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
59 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
59 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
60 |
CONFIGURE_ARGS+= --enable-gcc-hardening |
60 |
CONFIGURE_ARGS+= --enable-gcc-hardening |