aboutsummaryrefslogtreecommitdiffstats
path: root/polish/gnugadu2
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2017-06-01 04:43:21 +0800
committerpawel <pawel@FreeBSD.org>2017-06-01 04:43:21 +0800
commitfe0730a206c41d0aedce458121d3488ddcaf0c16 (patch)
tree5f3bf6590080741d7db6ec23161be606cc67fe16 /polish/gnugadu2
parent4f3030caed8e02c1351455a55cbeeee42960d67d (diff)
downloadfreebsd-ports-gnome-fe0730a206c41d0aedce458121d3488ddcaf0c16.tar.gz
freebsd-ports-gnome-fe0730a206c41d0aedce458121d3488ddcaf0c16.tar.zst
freebsd-ports-gnome-fe0730a206c41d0aedce458121d3488ddcaf0c16.zip
- Add LICENSE information
- Convert to USES=localbase - Add missing dependencies found by stage-qa - Fix build when GTKSPELL=on, needs aspell - Remove deprecated WANT_GNOME - Fix typo in pkg-descr
Diffstat (limited to 'polish/gnugadu2')
-rw-r--r--polish/gnugadu2/Makefile25
-rw-r--r--polish/gnugadu2/pkg-descr2
2 files changed, 16 insertions, 11 deletions
diff --git a/polish/gnugadu2/Makefile b/polish/gnugadu2/Makefile
index 38fca8ed0a9b..d08b970793dd 100644
--- a/polish/gnugadu2/Makefile
+++ b/polish/gnugadu2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnugadu2
PORTVERSION= 2.3.0
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= polish net-im
MASTER_SITES= SF/ggadu/gg2/${PORTVERSION}
DISTNAME= gg2-${PORTVERSION}
@@ -11,16 +11,20 @@ DISTNAME= gg2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gadu-Gadu IM network client
-LIB_DEPENDS= libgadu.so:polish/libgadu \
- libaudiofile.so:audio/libaudiofile
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \
+ libgadu.so:polish/libgadu \
+ libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
-USES= gettext gmake pathfix perl5 pkgconfig tar:bzip2 libtool
-USE_GNOME= gtk20
+USES= gettext gmake libtool localbase pathfix perl5 pkgconfig tar:bzip2
+USE_GNOME= cairo gtk20
USE_LDCONFIG= yes
USE_XORG= x11 xaw ice xscrnsaver
-WANT_GNOME= yes
INSTALL_TARGET= install-strip
# there is a header conflict here, that breaks build
CONFLICTS= qhacc-[0-9]*
@@ -41,9 +45,6 @@ CONFIGURE_ARGS= --disable-esdtest \
--without-perl \
--without-remote
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
OPTIONS_DEFINE= DBUS DOCKAPP DOCKLET ESOUND \
GTKSPELL JABBER TLEN XOSD
OPTIONS_DEFAULT=DOCKLET
@@ -65,10 +66,13 @@ DOCKLET_CONFIGURE_WITH= docklet-system-tray
DOCKAPP_CONFIGURE_WITH= docklet_dockapp
+GTKSPELL_BUILD_DEPENDS= pl-aspell>0:polish/aspell
GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell
+GTKSPELL_RUN_DEPENDS= pl-aspell>0:polish/aspell
GTKSPELL_CONFIGURE_WITH= gtkspell
-DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
+DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus \
+ libdbus-glib-1.so:devel/dbus-glib
DBUS_CONFIGURE_WITH= dbus
DBUS_CONFIGURE_ON= --with-dbus-dir=${PREFIX}/share/dbus-1/services
@@ -76,6 +80,7 @@ ESOUND_USE= GNOME=esound
ESOUND_CONFIGURE_WITH= esd
XOSD_LIB_DEPENDS= libxosd.so:misc/xosd
+XOSD_USE= XORG=xext,xinerama
XOSD_CONFIGURE_WITH= xosd
post-patch:
diff --git a/polish/gnugadu2/pkg-descr b/polish/gnugadu2/pkg-descr
index c9413daace8f..9104e4c5bb0f 100644
--- a/polish/gnugadu2/pkg-descr
+++ b/polish/gnugadu2/pkg-descr
@@ -1,5 +1,5 @@
Gnugadu2 is a modular instant messenger written with GTK+ targeted
-mainly at Polish users of propietary Gadu-Gadu network.
+mainly at Polish users of proprietary Gadu-Gadu network.
GnuGadu2 sports a plugin extensible architecture. Beside Gadu-Gadu
it also supports Jabber, Tlen.pl, sending smses to Polish mobile