svn commit: r378875 - in head/net-im: . telegram-purple telegram-purple/files
Kris Moore
kmoore at FreeBSD.org
Thu Feb 12 14:18:04 UTC 2015
Author: kmoore
Date: Thu Feb 12 14:18:02 2015
New Revision: 378875
URL: https://svnweb.freebsd.org/changeset/ports/378875
QAT: https://qat.redports.org/buildarchive/r378875/
Log:
Telegram-purple is a Libpurple plugin that adds support for the
Telegram messenger.
WWW: https://github.com/majn/telegram-purple
Added:
head/net-im/telegram-purple/
head/net-im/telegram-purple/Makefile (contents, props changed)
head/net-im/telegram-purple/distinfo (contents, props changed)
head/net-im/telegram-purple/files/
head/net-im/telegram-purple/files/patch-Makefile.in (contents, props changed)
head/net-im/telegram-purple/pkg-descr (contents, props changed)
head/net-im/telegram-purple/pkg-plist (contents, props changed)
Modified:
head/net-im/Makefile
Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile Thu Feb 12 13:49:43 2015 (r378874)
+++ head/net-im/Makefile Thu Feb 12 14:18:02 2015 (r378875)
@@ -148,6 +148,7 @@
SUBDIR += skype-devel
SUBDIR += skype4
SUBDIR += telegram
+ SUBDIR += telegram-purple
SUBDIR += telepathy-butterfly
SUBDIR += telepathy-farsight
SUBDIR += telepathy-farstream
Added: head/net-im/telegram-purple/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/telegram-purple/Makefile Thu Feb 12 14:18:02 2015 (r378875)
@@ -0,0 +1,29 @@
+# Created by: Kris Moore <kmoore at 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 at 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>
Added: head/net-im/telegram-purple/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/telegram-purple/distinfo Thu Feb 12 14:18:02 2015 (r378875)
@@ -0,0 +1,2 @@
+SHA256 (telegram-purple-02092015.tar.xz) = 0433595129de5620a455edcfd062b3b6a6421e8165541fc251630e1c65c602f3
+SIZE (telegram-purple-02092015.tar.xz) = 285180
Added: head/net-im/telegram-purple/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/telegram-purple/files/patch-Makefile.in Thu Feb 12 14:18:02 2015 (r378875)
@@ -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:
Added: head/net-im/telegram-purple/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/telegram-purple/pkg-descr Thu Feb 12 14:18:02 2015 (r378875)
@@ -0,0 +1,4 @@
+Telegram-purple is a Libpurple plugin that adds support for the
+Telegram messenger.
+
+WWW: https://github.com/majn/telegram-purple
Added: head/net-im/telegram-purple/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/telegram-purple/pkg-plist Thu Feb 12 14:18:02 2015 (r378875)
@@ -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
More information about the svn-ports-head
mailing list