2013-01-24 16:05:18 +00:00
|
|
|
# Created by: Aleksander Fafula <alex@BSDGuru.org>
|
2006-01-15 10:37:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgadu
|
2012-06-23 17:37:23 +00:00
|
|
|
DISTVERSION= 1.11.2
|
2007-02-24 07:42:43 +00:00
|
|
|
PORTEPOCH= 1
|
2013-01-24 16:05:18 +00:00
|
|
|
CATEGORIES= polish net-im
|
2007-02-24 07:42:43 +00:00
|
|
|
MASTER_SITES= http://toxygen.net/libgadu/files/
|
2006-01-15 10:37:30 +00:00
|
|
|
|
2011-08-24 21:34:41 +00:00
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
2013-01-24 16:05:18 +00:00
|
|
|
COMMENT= Instant messaging library for Gadu-Gadu protocol
|
2006-01-15 10:37:30 +00:00
|
|
|
|
2011-03-15 07:28:48 +00:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2008-03-25 18:45:09 +00:00
|
|
|
CONFLICTS= pl-ekg-1.[0-6]*
|
2006-07-28 17:09:47 +00:00
|
|
|
|
2011-08-24 21:34:41 +00:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
2006-01-15 10:37:30 +00:00
|
|
|
|
2011-08-24 21:34:41 +00:00
|
|
|
CONFIGURE_ARGS= --enable-shared --disable-static --with-pthread \
|
|
|
|
--disable-tests --without-gnutls
|
2006-01-15 10:37:30 +00:00
|
|
|
|
2011-08-24 21:34:41 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-01-15 10:37:30 +00:00
|
|
|
|
2008-03-25 18:45:09 +00:00
|
|
|
PLIST_FILES= include/libgadu.h \
|
|
|
|
lib/libgadu.la \
|
|
|
|
lib/libgadu.so \
|
|
|
|
lib/libgadu.so.3 \
|
|
|
|
libdata/pkgconfig/libgadu.pc
|
|
|
|
|
2012-06-07 22:44:21 +00:00
|
|
|
OPTIONS_DEFINE= OPENSSL
|
|
|
|
OPTIONS_DEFAULT=OPENSSL
|
|
|
|
|
2008-05-17 15:12:15 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2008-03-25 18:45:09 +00:00
|
|
|
|
2012-06-07 22:44:21 +00:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2008-05-17 15:12:15 +00:00
|
|
|
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
|
|
|
|
.else
|
2008-03-25 18:45:09 +00:00
|
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
|
|
.endif
|
|
|
|
|
2010-02-18 19:05:09 +00:00
|
|
|
post-patch:
|
2010-05-16 22:15:37 +00:00
|
|
|
@${REINPLACE_CMD} -Ee 's/@SUBDIRS_DOXYGEN@//' ${WRKSRC}/Makefile.in
|
2010-02-18 19:05:09 +00:00
|
|
|
|
2008-05-17 15:12:15 +00:00
|
|
|
pre-install:
|
2010-05-16 22:15:37 +00:00
|
|
|
# OpenSSL from base system lacks .pc file for pkgconfig
|
2012-06-07 22:44:21 +00:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2008-05-17 15:12:15 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|openssl| |g' ${WRKSRC}/pkgconfig/libgadu.pc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|