|
Lines 2-9
Link Here
|
| 2 |
# $FreeBSD: head/dns/dnscrypt-proxy/Makefile 418449 2016-07-12 22:03:52Z marino $ |
2 |
# $FreeBSD: head/dns/dnscrypt-proxy/Makefile 418449 2016-07-12 22:03:52Z marino $ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= dnscrypt-proxy |
4 |
PORTNAME= dnscrypt-proxy |
| 5 |
PORTVERSION= 1.6.1 |
5 |
PORTVERSION= 1.7.0 |
| 6 |
PORTREVISION= 2 |
|
|
| 7 |
CATEGORIES= dns |
6 |
CATEGORIES= dns |
| 8 |
MASTER_SITES= http://download.dnscrypt.org/dnscrypt-proxy/ \ |
7 |
MASTER_SITES= http://download.dnscrypt.org/dnscrypt-proxy/ \ |
| 9 |
http://www.dns-lab.com/downloads/dnscrypt-proxy/ |
8 |
http://www.dns-lab.com/downloads/dnscrypt-proxy/ |
|
Lines 16-45
Link Here
|
| 16 |
|
15 |
|
| 17 |
LIB_DEPENDS= libsodium.so:security/libsodium |
16 |
LIB_DEPENDS= libsodium.so:security/libsodium |
| 18 |
|
17 |
|
|
|
18 |
USERS= _dnscrypt-proxy |
| 19 |
|
| 19 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
| 20 |
USES= execinfo gmake |
21 |
USES= execinfo gmake |
| 21 |
|
22 |
|
| 22 |
OPTIONS_DEFINE= DOCS |
23 |
INSTALL_TARGET= install-strip |
| 23 |
OPTIONS_SINGLE= RCWHICH |
|
|
| 24 |
OPTIONS_SINGLE_RCWHICH= RCSINGLE RCMULTI |
| 25 |
RCWHICH_DESC= rc script to use: |
| 26 |
RCSINGLE_DESC= use default rc script for single daemon |
| 27 |
RCMULTI_DESC= use experimental rc script for multiple instances |
| 28 |
OPTIONS_DEFAULT=RCSINGLE |
| 29 |
|
| 30 |
.include <bsd.port.options.mk> |
| 31 |
|
24 |
|
| 32 |
.if ${PORT_OPTIONS:MRCMULTI} |
25 |
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README* THANKS |
| 33 |
USE_RC_SUBR= ${PORTNAME}_multi |
|
|
| 34 |
SUB_FILES= pkg-message_multi |
| 35 |
.else |
| 36 |
USE_RC_SUBR= ${PORTNAME} |
| 37 |
SUB_FILES= pkg-message |
| 38 |
.endif |
| 39 |
|
26 |
|
| 40 |
USERS= _dnscrypt-proxy |
27 |
OPTIONS_DEFINE= DOCS PLUGINS PLUGINS_RELAXED PLUGINS_ROOT |
|
|
28 |
OPTIONS_SINGLE= RCWHICH |
| 29 |
OPTIONS_SINGLE_RCWHICH= RCSINGLE RCMULTI |
| 30 |
OPTIONS_DEFAULT= PLUGINS RCSINGLE |
| 31 |
OPTIONS_SUB= yes |
| 41 |
|
32 |
|
| 42 |
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README* THANKS |
33 |
PLUGINS_CONFIGURE_ENABLE= plugins |
|
|
34 |
PLUGINS_LIB_DEPENDS= libltdl.so:devel/libltdl \ |
| 35 |
libldns.so:dns/ldns |
| 36 |
PLUGINS_USES= libtool |
| 37 |
PLUGINS_RELAXED_DESC= Allow loading plugins owned by other users |
| 38 |
PLUGINS_RELAXED_CONFIGURE_ENABLE= relaxed-plugins-permissions |
| 39 |
PLUGINS_ROOT_DESC= Only load plugins sitting in the default plugins directory |
| 40 |
PLUGINS_ROOT_CONFIGURE_ENABLE= plugins-root |
| 41 |
RCWHICH_DESC= Rc script to use: |
| 42 |
RCSINGLE_DESC= Use default rc script for single daemon |
| 43 |
RCSINGLE_VARS= USE_RC_SUBR=${PORTNAME} |
| 44 |
RCSINGLE_SUB_FILES= pkg-message |
| 45 |
RCMULTI_DESC= Use experimental rc script for multiple instances |
| 46 |
RCMULTI_VARS= USE_RC_SUBR=${PORTNAME}_multi |
| 47 |
RCMULTI_SUB_FILES= pkg-message_multi |
| 43 |
|
48 |
|
| 44 |
post-install: |
49 |
post-install: |
| 45 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
50 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |