freebsd-ports/net-im/pidgin-sipe/Makefile

61 lines
1.7 KiB
Makefile

PORTNAME= pidgin-sipe
PORTVERSION= 1.24.0
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= SF/sipe/sipe/${DISTNAME}
MAINTAINER= john.c.prather@gmail.com
COMMENT= Plugin for Pidgin to provide LCS/OCS connectivity
WWW= https://www.sourceforge.net/projects/sipe
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
BROKEN_armv7= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
LIB_DEPENDS= libnss3.so:security/nss \
libpurple.so:net-im/libpurple \
libplds4.so:devel/nspr \
libgstreamer-1.0.so:multimedia/gstreamer1 \
libnice.so:net-im/libnice \
libgmime-2.6.so:mail/gmime26 \
libdbus-1.so:devel/dbus \
libfarstream-0.2.so:net-im/farstream
RUN_DEPENDS= pidgin:net-im/pidgin
USES= compiler:c11 gmake gnome gstreamer libtool localbase pkgconfig tar:bzip2 ssl
USE_GNOME= gtk20 intltool libxml2
USE_LDCONFIG= yes
OPTIONS_DEFINE= OCS2005 KRB5 DOCS NLS
OPTIONS_SUB= yes
OCS2005_DESC= Message timeout for OCS2005
OCS2005_CONFIGURE_ENABLE= ocs2005-message-hack
KRB5_DESC= With Kerberos5
KRB5_CONFIGURE_WITH= krb5
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
CONFIGURE_ARGS= --enable-purple \
--disable-telepathy
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
CFLAGS+= -Wno-error
post-patch:
@${REINPLACE_CMD} 's/LDLAGS/LDFLAGS/' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>