aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnscrypt-proxy/Makefile
blob: 68ab9295d290e21b0c9596afaa55a37cf910defb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
# $FreeBSD$

PORTNAME=   dnscrypt-proxy
PORTVERSION=    1.4.0
PORTREVISION=   3
CATEGORIES= dns
MASTER_SITES=   http://download.dnscrypt.org/dnscrypt-proxy/ \
        http://www.dns-lab.com/downloads/dnscrypt-proxy/

MAINTAINER= freebsd@dns-lab.com
COMMENT=    Boost privacy and security of DNS

LICENSE=    MIT

LIB_DEPENDS=    libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
        libsodium.so:${PORTSDIR}/security/libsodium

GNU_CONFIGURE=  yes
USES=       gmake

SUB_FILES=  pkg-message

USE_RC_SUBR=    ${PORTNAME}

USERS=      _dnscrypt-proxy

PORTDOCS=   AUTHORS COPYING ChangeLog INSTALL NEWS README \
        README-PLUGINS.markdown README-WINDOWS.markdown \
        README.markdown TECHNOTES THANKS

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
    ${INSTALL_MAN} ${WRKSRC}/man/hostip.8 ${STAGEDIR}${MAN8PREFIX}/man/man8

.include <bsd.port.mk>