aboutsummaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-29 19:03:19 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-29 19:03:19 +0000
commitab3c047ab5b81e80b9ae7bcb4ba0558d936918f6 (patch)
tree344c04cf9c8e1514cb5c64608ef20bb179b6b99c /polish
parent66cf122f4090df1d5ea654d541800720aff14155 (diff)
downloadports-ab3c047ab5b81e80b9ae7bcb4ba0558d936918f6.tar.gz
ports-ab3c047ab5b81e80b9ae7bcb4ba0558d936918f6.zip
- Update to version 1.11.4, development switched to github
- Convert to USES=libtool, options helpers
Notes
Notes: svn path=/head/; revision=355731
Diffstat (limited to 'polish')
-rw-r--r--polish/libgadu/Makefile31
-rw-r--r--polish/libgadu/distinfo4
2 files changed, 19 insertions, 16 deletions
diff --git a/polish/libgadu/Makefile b/polish/libgadu/Makefile
index c9be3b235d91..80673d4b736a 100644
--- a/polish/libgadu/Makefile
+++ b/polish/libgadu/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= libgadu
-DISTVERSION= 1.11.2
+DISTVERSION= 1.11.4
PORTEPOCH= 1
CATEGORIES= polish net-im
-MASTER_SITES= http://toxygen.net/libgadu/files/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Instant messaging library for Gadu-Gadu protocol
@@ -14,33 +13,37 @@ LICENSE= LGPL21
CONFLICTS= pl-ekg-1.[0-6]*
-USES= pathfix pkgconfig
-GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= wojtekka
+GH_COMMIT= 3eafeba
+USES= gmake libtool pkgconfig tar:bzip2
+USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
+ACLOCAL_ARGS= -I m4
+AUTOMAKE_ARGS= --add-missing
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-static --with-pthread \
--disable-tests --without-gnutls
-
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PLIST_FILES= include/libgadu.h \
- lib/libgadu.la \
lib/libgadu.so \
lib/libgadu.so.3 \
+ lib/libgadu.so.3.13.0 \
libdata/pkgconfig/libgadu.pc
OPTIONS_DEFINE= OPENSSL
OPTIONS_DEFAULT=OPENSSL
-.include <bsd.port.pre.mk>
+OPENSSL_CONFIGURE_WITH= openssl
+OPENSSL_USE= OPENSSL=yes
-.if ${PORT_OPTIONS:MOPENSSL}
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
-.else
-CONFIGURE_ARGS+= --without-openssl
-.endif
+.include <bsd.port.pre.mk>
-post-patch:
- @${REINPLACE_CMD} -Ee 's/@SUBDIRS_DOXYGEN@//' ${WRKSRC}/Makefile.in
+post-configure:
+ @${REINPLACE_CMD} '/^pkgconfigdir/ s|libdir)|prefix)/libdata|' \
+ ${WRKSRC}/pkgconfig/Makefile
pre-install:
# OpenSSL from base system lacks .pc file for pkgconfig
diff --git a/polish/libgadu/distinfo b/polish/libgadu/distinfo
index b01f32870d50..44cddbb01a1a 100644
--- a/polish/libgadu/distinfo
+++ b/polish/libgadu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libgadu-1.11.2.tar.gz) = 7f584123b8292b8084379a608bee75a853883d374e4dc2318c352e48578a2e4e
-SIZE (libgadu-1.11.2.tar.gz) = 549914
+SHA256 (libgadu-1.11.4.tar.bz2) = 15f8f3366ab517c6facf4c8cf53f3dfa2e74e67827ffde30698ecc0d5fe2a2d5
+SIZE (libgadu-1.11.4.tar.bz2) = 210978