summaryrefslogblamecommitdiff
path: root/net-im/pidgin-sipe/Makefile
blob: ea10c06d1a1a0c31d3683a3c3660e4222cf304cf (plain) (tree)
1
2
3
4
5
6
7
8
9
                           
                      
                 
                      
                                        

                                        
                                                                 
                                                         
 


                                 


                                                                                                                                                        
                                         



                                                           


                                                    
                                    
 
                                                                                            
                                      
 
                   
 
                                             

                           

                                                    
                                      
                            
 

                               
 





                                                          

                          



                                                                                                              

      

                                                                 
 

                                       
                        
                                                               
       
 
                      
PORTNAME=	pidgin-sipe
PORTVERSION=	1.24.0
PORTREVISION=	4
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

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+=	llvm:max=15
.endif

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>