aboutsummaryrefslogtreecommitdiffstats
path: root/security/obfsclient/Makefile
blob: 744b069505be0d7a2ff9055c4260b2b1fdd976b4 (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
# Created by: Fabian Keil <fk@fabiankeil.de>
# $FreeBSD$

PORTNAME=   obfsclient
PORTVERSION=    0.0.2
PORTREVISION=   1
CATEGORIES= security

MAINTAINER= fk@fabiankeil.de
COMMENT=    Tor-managed pluggable transport client

LIB_DEPENDS=    liballium-1.0.so:${PORTSDIR}/devel/liballium \
        libevent.so:${PORTSDIR}/devel/libevent2

USE_GITHUB= yes
GH_ACCOUNT= Yawning
GH_TAGNAME= 3c551c5

GNU_CONFIGURE=  yes
USES=       autoreconf compiler:c++11-lib pkgconfig tar:bzip2

CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

PLIST_FILES=    bin/${PORTNAME}
PORTDOCS=   COPYING

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}

regression-test: build
    (cd ${WRKSRC} && make check)

.include <bsd.port.mk>