summaryrefslogtreecommitdiff
path: root/net-im/tdlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/tdlib/Makefile')
-rw-r--r--net-im/tdlib/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-im/tdlib/Makefile b/net-im/tdlib/Makefile
index 35be46ff1810..929652128ce0 100644
--- a/net-im/tdlib/Makefile
+++ b/net-im/tdlib/Makefile
@@ -1,7 +1,7 @@
PORTNAME= tdlib
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.48
-PORTREVISION= 2
+PORTREVISION= 4
CATEGORIES= net-im devel
MAINTAINER= yuri@FreeBSD.org
@@ -12,6 +12,8 @@ LICENSE= BSL
USES= cmake:testing compiler:c++14-lang gperf readline ssl
+CONFLICTS_INSTALL= tde2e
+
USE_GITHUB= yes
GH_PROJECT= td
GH_TAGNAME= b8b08b0 # hash corresponding to 1.8.48
@@ -29,10 +31,10 @@ post-patch:
post-install: # see https://github.com/tdlib/td/issues/3328
@cd ${WRKSRC}/td && \
- ${COPYTREE_SHARE} telegram ${STAGEDIR}${PREFIX}/include/td
+ ${COPYTREE_SHARE} telegram ${STAGEDIR}${PREFIX}/include/td "-name *\.h -o -name *\.hpp"
@cd ${WRKSRC}/tdutils/td && \
- ${COPYTREE_SHARE} utils ${STAGEDIR}${PREFIX}/include/td
+ ${COPYTREE_SHARE} utils ${STAGEDIR}${PREFIX}/include/td "-name *\.h -o -name *\.hpp"
@cd ${WRKSRC}/tde2e/td && \
- ${COPYTREE_SHARE} e2e ${STAGEDIR}${PREFIX}/include/td
+ ${COPYTREE_SHARE} e2e ${STAGEDIR}${PREFIX}/include/td "-name *\.h -o -name *\.hpp"
.include <bsd.port.mk>