45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Kris Moore <kmoore@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= telegram-purple
|
|
PORTVERSION= 1.4.3
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= jjuanino@gmail.com
|
|
COMMENT= Libpurple plugin for Telegram messenger
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_armv6= fails to link: undefined reference to 'backtrace'
|
|
BROKEN_powerpc64= fails to compile: Assertion failed: (get_int () == TLS_SCHEMA_V2), function parse_tlo_file, file generate.c, line 2832.
|
|
BROKEN_sparc64= fails to compile: assertion fails
|
|
|
|
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
|
|
libwebp.so:graphics/webp \
|
|
libpurple.so:net-im/libpurple \
|
|
libpng.so:graphics/png
|
|
|
|
USES= gmake gnome pkgconfig localbase:ldflags
|
|
USE_GNOME= glib20
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-translation
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= majn
|
|
GH_PROJECT= tgl:tgl
|
|
GH_TAGNAME?= cd7e3d7:tgl
|
|
GH_SUBDIR= tgl:tgl
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/purple-2/telegram-purple.so
|
|
@${RM} -rf ${STAGEDIR}/etc
|
|
|
|
.include <bsd.port.mk>
|