aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-03-04 01:35:29 +0800
committeryuri <yuri@FreeBSD.org>2018-03-04 01:35:29 +0800
commitb4bfe6b0b49415aa80dc3c88473a4803ade44afd (patch)
tree1a08177c173839e19a9a3396eb60f7ed0d876bb5 /net-im
parent5c351f04059a2d7381c57246d341ba0e6dd446b0 (diff)
downloadfreebsd-ports-gnome-b4bfe6b0b49415aa80dc3c88473a4803ade44afd.tar.gz
freebsd-ports-gnome-b4bfe6b0b49415aa80dc3c88473a4803ade44afd.tar.zst
freebsd-ports-gnome-b4bfe6b0b49415aa80dc3c88473a4803ade44afd.zip
net-im/py-toxcore-c: Update to 0.180219
Port changes: * Added stripping * CFLAGS -> USES=localbase This update makes it compatible with net-im/tox 0.2.0
Diffstat (limited to 'net-im')
-rw-r--r--net-im/py-toxcore-c/Makefile11
-rw-r--r--net-im/py-toxcore-c/distinfo6
2 files changed, 8 insertions, 9 deletions
diff --git a/net-im/py-toxcore-c/Makefile b/net-im/py-toxcore-c/Makefile
index 67174e804061..769b9bdc4033 100644
--- a/net-im/py-toxcore-c/Makefile
+++ b/net-im/py-toxcore-c/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= toxcore-c
-PORTVERSION= 0.170206
-PORTREVISION= 2
+DISTVERSION= 0.180219
CATEGORIES= net-im net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,14 +17,14 @@ LIB_DEPENDS= libtoxcore.so:net-im/tox \
libvpx.so:multimedia/libvpx \
libopus.so:audio/opus
+USES= localbase python
USE_GITHUB= yes
GH_ACCOUNT= TokTok
GH_PROJECT= py-toxcore-c
-GH_TAGNAME= ebced1f
-
-USES= python
+GH_TAGNAME= 2c1b9d6
USE_PYTHON= distutils autoplist
-CFLAGS+= -I${LOCALBASE}/include
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pytox.so
.include <bsd.port.mk>
diff --git a/net-im/py-toxcore-c/distinfo b/net-im/py-toxcore-c/distinfo
index dadbab01e213..d57fd4980337 100644
--- a/net-im/py-toxcore-c/distinfo
+++ b/net-im/py-toxcore-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1486430415
-SHA256 (TokTok-py-toxcore-c-0.170206-ebced1f_GH0.tar.gz) = 9d5edf0991ee59835be4b6961792bd33b6f0d7703fb16827d9bf09b6f94610fc
-SIZE (TokTok-py-toxcore-c-0.170206-ebced1f_GH0.tar.gz) = 45529
+TIMESTAMP = 1520052651
+SHA256 (TokTok-py-toxcore-c-0.180219-2c1b9d6_GH0.tar.gz) = 7636238ff9589de22ea9b864dc15498cc7bdcae1c19367347aee96c6844604bd
+SIZE (TokTok-py-toxcore-c-0.180219-2c1b9d6_GH0.tar.gz) = 46156