Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= shadowsocks-libev |
4 |
PORTNAME= shadowsocks-libev |
5 |
PORTVERSION= 1.4.0 |
5 |
PORTVERSION= 1.6.4 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
8 |
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/ |
7 |
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/ |
9 |
|
8 |
|
Lines 15-28
Link Here
|
15 |
# fetch from github repo |
14 |
# fetch from github repo |
16 |
USE_GITHUB= yes |
15 |
USE_GITHUB= yes |
17 |
GH_ACCOUNT= madeye |
16 |
GH_ACCOUNT= madeye |
18 |
GH_TAGNAME= v1.4.0 |
17 |
GH_TAGNAME= v1.6.4 |
19 |
WRKSRC= ${WRKDIR}/${DISTNAME} |
18 |
WRKSRC= ${WRKDIR}/${DISTNAME} |
20 |
|
19 |
|
21 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
22 |
USES= gmake |
21 |
USES= gmake libtool:keepla |
23 |
|
22 |
|
24 |
USE_RC_SUBR= shadowsocks_libev |
23 |
USE_RC_SUBR= shadowsocks_libev |
25 |
|
24 |
|
|
|
25 |
post-patch: |
26 |
${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \ |
27 |
${WRKSRC}/Makefile.in |
28 |
|
26 |
post-install: |
29 |
post-install: |
27 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
30 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
28 |
${CP} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample |
31 |
${CP} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample |