6169af5396
PR: ports/183300 Submitted by: maintainer
30 lines
706 B
Makefile
30 lines
706 B
Makefile
# Created by: Xiaoding Liu <xiaoding+freebsd@xiaoding.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= shadowsocks-libev
|
|
PORTVERSION= 1.4.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/
|
|
|
|
MAINTAINER= xiaoding+freebsd@xiaoding.org
|
|
COMMENT= Lightweight tunnel proxy which can help you get through firewalls
|
|
|
|
LICENSE= GPLv3
|
|
|
|
# fetch from github repo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= madeye
|
|
GH_TAGNAME= v1.4.0
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
|
|
USE_RC_SUBR= shadowsocks_libev
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${CP} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
|
|
|
|
.include <bsd.port.mk>
|