mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Telegram-purple is a Libpurple plugin that adds support for the
Telegram messenger. WWW: https://github.com/majn/telegram-purple
This commit is contained in:
parent
7df608cc22
commit
f11a65e763
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378875
6 changed files with 66 additions and 0 deletions
|
@ -148,6 +148,7 @@
|
||||||
SUBDIR += skype-devel
|
SUBDIR += skype-devel
|
||||||
SUBDIR += skype4
|
SUBDIR += skype4
|
||||||
SUBDIR += telegram
|
SUBDIR += telegram
|
||||||
|
SUBDIR += telegram-purple
|
||||||
SUBDIR += telepathy-butterfly
|
SUBDIR += telepathy-butterfly
|
||||||
SUBDIR += telepathy-farsight
|
SUBDIR += telepathy-farsight
|
||||||
SUBDIR += telepathy-farstream
|
SUBDIR += telepathy-farstream
|
||||||
|
|
29
net-im/telegram-purple/Makefile
Normal file
29
net-im/telegram-purple/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Created by: Kris Moore <kmoore@freebsd.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= telegram-purple
|
||||||
|
PORTVERSION= 02092015
|
||||||
|
CATEGORIES= net-im
|
||||||
|
MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
|
||||||
|
ftp://ftp.pcbsd.org/pub/software/
|
||||||
|
|
||||||
|
MAINTAINER= kmoore@freebsd.org
|
||||||
|
COMMENT= Libpurple plugin for Telegram messenger
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
BUILD_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin
|
||||||
|
RUN_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin
|
||||||
|
|
||||||
|
USES= gmake pkgconfig tar:xz
|
||||||
|
USE_GNOME= glib20 libxml2
|
||||||
|
USE_GCC= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
pre-configure:
|
||||||
|
@${REINPLACE_CMD} -e 's|/etc/telegram-purple/server.pub|${PREFIX}/etc/telegram-purple/server.pub|g' \
|
||||||
|
${WRKSRC}/telegram-purple.c
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
2
net-im/telegram-purple/distinfo
Normal file
2
net-im/telegram-purple/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (telegram-purple-02092015.tar.xz) = 0433595129de5620a455edcfd062b3b6a6421e8165541fc251630e1c65c602f3
|
||||||
|
SIZE (telegram-purple-02092015.tar.xz) = 285180
|
25
net-im/telegram-purple/files/patch-Makefile.in
Normal file
25
net-im/telegram-purple/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
--- Makefile.in.orig 2015-02-09 14:46:54.000000000 -0500
|
||||||
|
+++ Makefile.in 2015-02-10 10:46:38.752897727 -0500
|
||||||
|
@@ -61,12 +61,16 @@
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install: $(PRPL_LIBNAME)
|
||||||
|
- mkdir -p $(DESTDIR)/etc/telegram-purple
|
||||||
|
- install -Dm 0755 $(PRPL_LIBNAME) $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME)
|
||||||
|
- install -Dm 0644 tg-server.pub $(DESTDIR)/etc/telegram-purple/server.pub
|
||||||
|
- install -Dm 0644 imgs/telegram16.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/telegram.png
|
||||||
|
- install -Dm 0644 imgs/telegram22.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/telegram.png
|
||||||
|
- install -Dm 0644 imgs/telegram48.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/telegram.png
|
||||||
|
+ mkdir -p $(DESTDIR)$(PREFIX)/etc/telegram-purple
|
||||||
|
+ mkdir -p $(DESTDIR)$(PLUGIN_DIR_PURPLE)
|
||||||
|
+ mkdir -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16
|
||||||
|
+ mkdir -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22
|
||||||
|
+ mkdir -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48
|
||||||
|
+ install -m 0755 $(PRPL_LIBNAME) $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME)
|
||||||
|
+ install -m 0644 tg-server.pub $(DESTDIR)$(PREFIX)/etc/telegram-purple/server.pub
|
||||||
|
+ install -m 0644 imgs/telegram16.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/telegram.png
|
||||||
|
+ install -m 0644 imgs/telegram22.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/telegram.png
|
||||||
|
+ install -m 0644 imgs/telegram48.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/telegram.png
|
||||||
|
|
||||||
|
.PHONY: local_install
|
||||||
|
local_install:
|
4
net-im/telegram-purple/pkg-descr
Normal file
4
net-im/telegram-purple/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Telegram-purple is a Libpurple plugin that adds support for the
|
||||||
|
Telegram messenger.
|
||||||
|
|
||||||
|
WWW: https://github.com/majn/telegram-purple
|
5
net-im/telegram-purple/pkg-plist
Normal file
5
net-im/telegram-purple/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%%ETCDIR%%/server.pub
|
||||||
|
lib/purple-2/telegram-purple.so
|
||||||
|
share/pixmaps/pidgin/protocols/16/telegram.png
|
||||||
|
share/pixmaps/pidgin/protocols/22/telegram.png
|
||||||
|
share/pixmaps/pidgin/protocols/48/telegram.png
|
Loading…
Add table
Reference in a new issue