2012-10-07 15:23:27 +02:00
|
|
|
# Created by: smyru@heron.pl
|
2001-12-26 01:54:09 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-01-16 00:48:07 +01:00
|
|
|
PORTNAME= gnugadu2
|
2007-07-27 16:46:50 +02:00
|
|
|
PORTVERSION= 2.3.0
|
2015-09-13 15:53:09 +02:00
|
|
|
PORTREVISION= 15
|
2005-11-09 20:11:29 +01:00
|
|
|
CATEGORIES= polish net-im
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/ggadu/gg2/${PORTVERSION}
|
2004-05-11 14:13:35 +02:00
|
|
|
DISTNAME= gg2-${PORTVERSION}
|
2001-12-26 01:54:09 +01:00
|
|
|
|
2009-05-04 22:17:52 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-05-18 18:14:26 +02:00
|
|
|
COMMENT= Gadu-Gadu IM network client
|
2001-12-26 01:54:09 +01:00
|
|
|
|
2014-07-14 20:42:04 +02:00
|
|
|
LIB_DEPENDS= libgadu.so:${PORTSDIR}/polish/libgadu \
|
2013-11-08 15:31:40 +01:00
|
|
|
libaudiofile.so:${PORTSDIR}/audio/libaudiofile
|
2004-01-16 00:48:07 +01:00
|
|
|
|
2008-05-18 18:14:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2014-05-27 13:17:41 +02:00
|
|
|
USES= gettext gmake perl5 pkgconfig tar:bzip2 libtool
|
2004-01-16 00:48:07 +01:00
|
|
|
USE_GNOME= gtk20
|
2006-09-07 17:44:21 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-05-18 18:14:26 +02:00
|
|
|
USE_XORG= x11 xaw ice xscrnsaver
|
2004-01-16 00:48:07 +01:00
|
|
|
WANT_GNOME= yes
|
2015-06-01 03:28:14 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2008-05-18 18:14:26 +02:00
|
|
|
# there is a header conflict here, that breaks build
|
2005-04-11 11:03:22 +02:00
|
|
|
CONFLICTS= qhacc-[0-9]*
|
2004-01-16 00:48:07 +01:00
|
|
|
|
2006-09-07 17:44:21 +02:00
|
|
|
CONFIGURE_ARGS= --disable-esdtest \
|
2004-07-21 23:38:29 +02:00
|
|
|
--with-external-libgadu \
|
2005-01-28 01:01:01 +01:00
|
|
|
--with-static=no \
|
2005-10-08 01:21:12 +02:00
|
|
|
--with-aaway \
|
|
|
|
--with-external \
|
|
|
|
--with-gghist \
|
|
|
|
--with-gui \
|
|
|
|
--with-ignore \
|
|
|
|
--with-oss \
|
|
|
|
--with-sms \
|
|
|
|
--with-update \
|
2013-08-28 20:29:38 +02:00
|
|
|
--without-arts \
|
2005-10-08 01:21:12 +02:00
|
|
|
--without-gnutls \
|
|
|
|
--without-perl \
|
2005-01-28 01:01:01 +01:00
|
|
|
--without-remote
|
2004-01-16 00:48:07 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-01-16 00:48:07 +01:00
|
|
|
|
2015-09-13 15:53:09 +02:00
|
|
|
OPTIONS_DEFINE= DBUS DOCKAPP DOCKLET ESOUND \
|
2012-10-07 15:23:27 +02:00
|
|
|
GTKSPELL JABBER TLEN XOSD
|
|
|
|
OPTIONS_DEFAULT=DOCKLET
|
2015-09-13 15:53:09 +02:00
|
|
|
OPTIONS_SUB= yes
|
2005-10-08 01:21:12 +02:00
|
|
|
|
2012-10-07 15:23:27 +02:00
|
|
|
DOCKLET_DESC= Enable fd.o docklet plugin
|
|
|
|
DOCKAPP_DESC= Enable WindowMaker dockapp plugin
|
|
|
|
GTKSPELL_DESC= Enable GTKSpell checker
|
|
|
|
TLEN_DESC= Enable Tlen.pl network plugin
|
|
|
|
XOSD_DESC= Enable On-Screen-Display messages
|
2001-12-26 01:54:09 +01:00
|
|
|
|
2015-09-13 15:53:09 +02:00
|
|
|
TLEN_LIB_DEPENDS= libtlen.so:${PORTSDIR}/polish/libtlen
|
|
|
|
TLEN_CONFIGURE_WITH= tlen
|
|
|
|
|
|
|
|
JABBER_LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
|
|
|
|
JABBER_CONFIGURE_WITH= jabber
|
|
|
|
|
|
|
|
DOCKLET_CONFIGURE_WITH= docklet-system-tray
|
|
|
|
|
|
|
|
DOCKAPP_CONFIGURE_WITH= docklet_dockapp
|
|
|
|
|
|
|
|
GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
|
|
|
|
GTKSPELL_CONFIGURE_WITH= gtkspell
|
|
|
|
|
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
|
|
|
|
DBUS_CONFIGURE_WITH= dbus
|
|
|
|
DBUS_CONFIGURE_ON= --with-dbus-dir=${PREFIX}/share/dbus-1/services
|
|
|
|
|
|
|
|
ESOUND_USE= GNOME=esound
|
|
|
|
ESOUND_CONFIGURE_WITH= esd
|
|
|
|
|
|
|
|
XOSD_LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
|
|
|
|
XOSD_CONFIGURE_WITH= xosd
|
2004-01-16 00:48:07 +01:00
|
|
|
|
|
|
|
post-patch:
|
2008-05-18 18:14:26 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,=.*},=${PREFIX},' ${WRKSRC}/src/plugins/dbus/org.freedesktop.im.GG.service
|
|
|
|
@${REINPLACE_CMD} -e 's, -ldl,, ; s,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' ${WRKSRC}/lib/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's,(datadir)/pixmaps,(datadir)/icons/hicolor/48x48/apps,' ${WRKSRC}/pixmaps/Makefile.in
|
2013-03-08 11:51:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/plugins/GUI/gtkimhtml.c
|
2004-01-16 00:48:07 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-05-27 13:17:41 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
2001-12-26 01:54:09 +01:00
|
|
|
|
2015-09-13 15:53:09 +02:00
|
|
|
.include <bsd.port.mk>
|