aboutsummaryrefslogtreecommitdiff
path: root/polish/gnugadu2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'polish/gnugadu2/Makefile')
-rw-r--r--polish/gnugadu2/Makefile109
1 files changed, 56 insertions, 53 deletions
diff --git a/polish/gnugadu2/Makefile b/polish/gnugadu2/Makefile
index 5733c09174f7..37a504fe4589 100644
--- a/polish/gnugadu2/Makefile
+++ b/polish/gnugadu2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnugadu2
-PORTVERSION= 2.0.3
-PORTREVISION= 1
+PORTVERSION= 2.2.4
CATEGORIES= polish net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ggadu
@@ -16,25 +15,24 @@ DISTNAME= gg2-${PORTVERSION}
MAINTAINER= smyru@heron.pl
COMMENT= GTK2 based Gadu-Gadu client for X11
-LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/ekg
+LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/ekg \
+ audiofile.0:${PORTSDIR}/audio/libaudiofile
USE_X_PREFIX= yes
-USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gtk20
-USE_INC_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
WANT_GNOME= yes
CONFLICTS= qhacc-*
-CONFIGURE_ARGS= --with-gui \
- --with-gadu \
- --with-sms \
- --with-external \
+CONFIGURE_ARGS= \
--with-external-libgadu \
- --with-update
+ --with-static=no \
+ --without-dbus \
+ --without-remote
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -45,78 +43,65 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
WITH_ESOUND= yes
.endif
-.if defined(WITH_GTKSPELL)
-CONFIGURE_ARGS+= --with-gtkspell
+.if !defined(WITH_GTKSPELL)
+CONFIGURE_ARGS+= --without-gtkspell
+.else
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
.endif
-.if defined(WITH_DOCKLET)
-CONFIGURE_ARGS+= --with-docklet_system_tray
-PLIST_SUB+= DOCKLET:=""
-.else
-CONFIGURE_ARGS+= --without-docklet_system_tray
+.if !defined(WITH_DOCKLET)
+CONFIGURE_ARGS+= --without-docklet-system-tray
PLIST_SUB+= DOCKLET:="@comment "
+.else
+PLIST_SUB+= DOCKLET:=""
.endif
-.if defined(WITH_DOCKAPP)
-CONFIGURE_ARGS+= --with-docklet_dockapp
-PLIST_SUB+= DOCKAPP:=""
-.else
+.if !defined(WITH_DOCKAPP)
CONFIGURE_ARGS+= --without-docklet_dockapp
PLIST_SUB+= DOCKAPP:="@comment "
+.else
+PLIST_SUB+= DOCKAPP:=""
.endif
-.if defined(WITH_TLEN)
-CONFIGURE_ARGS+= --with-tlen
-LIB_DEPENDS+= tlen.1:${PORTSDIR}/polish/libtlen
-PLIST_SUB+= TLEN:=""
-.else
+.if !defined(WITH_TLEN)
CONFIGURE_ARGS+= --without-tlen
PLIST_SUB+= TLEN:="@comment "
+.else
+LIB_DEPENDS+= tlen.1:${PORTSDIR}/polish/libtlen
+PLIST_SUB+= TLEN:=""
.endif
-.if defined(WITH_JABBER)
-CONFIGURE_ARGS+= --with-jabber
-LIB_DEPENDS+= loudmouth-1.0:${PORTSDIR}/net/loudmouth
-PLIST_SUB+= JABBER:=""
-.else
+.if !defined(WITH_JABBER)
CONFIGURE_ARGS+= --without-jabber
PLIST_SUB+= JABBER:="@comment "
+.else
+LIB_DEPENDS+= loudmouth-1.0:${PORTSDIR}/net/loudmouth
+PLIST_SUB+= JABBER:=""
.endif
-.if defined(WITH_ESOUND)
-CONFIGURE_ARGS+= --with-esd
+.if !defined(WITH_ESOUND)
+CONFIGURE_ARGS+= --without-esd
+PLIST_SUB+= ESOUND:="@comment "
+.else
PKGNAMESUFFIX= -esound
USE_GNOME+= esound
PLIST_SUB+= ESOUND:=""
-.else
-CONFIGURE_ARGS+= --without-esd
-PLIST_SUB+= ESOUND:="@comment "
.endif
-.if defined(WITH_ARTS)
-CONFIGURE_ARGS+= --with-arts
-LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
-PLIST_SUB+= ARTS:=""
-.else
+.if !defined(WITH_ARTS)
CONFIGURE_ARGS+= --without-arts
PLIST_SUB+= ARTS:="@comment "
-.endif
-
-.if defined(WITH_OSS)
-CONFIGURE_ARGS+= --with-oss
-PLIST_SUB+= OSS:=""
.else
-PLIST_SUB+= OSS:="@comment "
+LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
+PLIST_SUB+= ARTS:=""
.endif
-.if defined(WITH_XOSD)
-CONFIGURE_ARGS+= --with-xosd
-LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
-PLIST_SUB+= XOSD:=""
-.else
+.if !defined(WITH_XOSD)
CONFIGURE_ARGS+= --without-xosd
PLIST_SUB+= XOSD:="@comment "
+.else
+LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
+PLIST_SUB+= XOSD:=""
.endif
.if (${HAVE_GNOME:Mgnomehier}!="")
@@ -131,17 +116,35 @@ PLIST_SUB+= KDE:="@comment "
.endif
pre-everything::
+.if defined(WITH_TLEN) || defined(WITH_JABBER) || defined(WITH_XOSD) || defined(WITH_DOCLET) || defined(WITH_DOCKAPP) || defined(WITH_ARTS) || defined(WITH_ESOUND) || defined(WITH_GTKSPELL)
@${ECHO_MSG}
@${ECHO_MSG} " You can define following build options:"
@${ECHO_MSG}
+.endif
+.if !defined(WITH_TLEN)
@${ECHO_MSG} " WITH_TLEN to enable Tlen.pl network plugin"
+.endif
+.if !defined(WITH_JABBER)
@${ECHO_MSG} " WITH_JABBER to enable Jabber loudmouth plugin"
+.endif
+.if !defined(WITH_XOSD)
@${ECHO_MSG} " WITH_XOSD to enable On-Screen-Display messages"
+.endif
+.if !defined(WITH_DOCKLET)
@${ECHO_MSG} " WITH_DOCKLET to enable freedesktop.org docklet plugin"
+.endif
+.if !defined(WITH_DOCKAPP)
@${ECHO_MSG} " WITH_DOCKAPP to enable WindowMaker dockapp plugin"
- @${ECHO_MSG} " WITH_OSS to build with sound via OSS"
+.endif
+.if !defined(WITH_ARTS)
@${ECHO_MSG} " WITH_ARTS to build with aRts sound server"
+.endif
+.if !defined(WITH_ESOUND)
@${ECHO_MSG} " WITH_ESOUND to build with esound sound server"
+.endif
+.if !defined(WITH_GTKSPELL)
+ @${ECHO_MSG} " WITH_GTKSPELL to enable GTKSpell checker"
+.endif
@${ECHO_MSG}
post-patch: