aboutsummaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-18 18:41:10 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-18 18:41:10 +0000
commita6b41e88ecbfb5a63f3097ebcb3c8f9ba63ce867 (patch)
treea829459f8db85d7949128bfba41e3da7be890c4a /polish
parent41122b83fe73f5fdd2193c4ad70e6fbcb185e04a (diff)
downloadports-a6b41e88ecbfb5a63f3097ebcb3c8f9ba63ce867.tar.gz
ports-a6b41e88ecbfb5a63f3097ebcb3c8f9ba63ce867.zip
Update to version 1.12.0
Notes
Notes: svn path=/head/; revision=358298
Diffstat (limited to 'polish')
-rw-r--r--polish/libgadu/Makefile10
-rw-r--r--polish/libgadu/distinfo4
2 files changed, 10 insertions, 4 deletions
diff --git a/polish/libgadu/Makefile b/polish/libgadu/Makefile
index 80673d4b736a..6bfaca62f855 100644
--- a/polish/libgadu/Makefile
+++ b/polish/libgadu/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libgadu
-DISTVERSION= 1.11.4
+DISTVERSION= 1.12.0
PORTEPOCH= 1
CATEGORIES= polish net-im
@@ -11,11 +11,13 @@ COMMENT= Instant messaging library for Gadu-Gadu protocol
LICENSE= LGPL21
+LIB_DEPENDS= libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c
+
CONFLICTS= pl-ekg-1.[0-6]*
USE_GITHUB= yes
GH_ACCOUNT= wojtekka
-GH_COMMIT= 3eafeba
+GH_COMMIT= ff39edb
USES= gmake libtool pkgconfig tar:bzip2
USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
@@ -27,6 +29,9 @@ CONFIGURE_ARGS= --enable-shared --disable-static --with-pthread \
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
PLIST_FILES= include/libgadu.h \
lib/libgadu.so \
lib/libgadu.so.3 \
@@ -42,6 +47,7 @@ OPENSSL_USE= OPENSSL=yes
.include <bsd.port.pre.mk>
post-configure:
+ @${REINPLACE_CMD} '/^sed/ s|^|#|' ${WRKSRC}/protobufgen.sh
@${REINPLACE_CMD} '/^pkgconfigdir/ s|libdir)|prefix)/libdata|' \
${WRKSRC}/pkgconfig/Makefile
diff --git a/polish/libgadu/distinfo b/polish/libgadu/distinfo
index 44cddbb01a1a..9cd6e7168cd0 100644
--- a/polish/libgadu/distinfo
+++ b/polish/libgadu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libgadu-1.11.4.tar.bz2) = 15f8f3366ab517c6facf4c8cf53f3dfa2e74e67827ffde30698ecc0d5fe2a2d5
-SIZE (libgadu-1.11.4.tar.bz2) = 210978
+SHA256 (libgadu-1.12.0.tar.bz2) = 7f85b5b03df30a68c25b3a3ebd35d26ce9dbe637ee59873f1f787cd7d766489a
+SIZE (libgadu-1.12.0.tar.bz2) = 290428