summaryrefslogtreecommitdiff
path: root/net/ekiga
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-04-09 16:12:15 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-04-09 16:12:15 +0000
commit4d01736a727b820b50f65e52ef66099bf5421770 (patch)
treedf3c1fe4922feb608fd6c08b2aa0ac4279e25d62 /net/ekiga
parentFall back to swig 1.1, something has broken with swig 1.3 (diff)
- USE_AUTOTOOLS=libtool:15 -> GNU_CONFIGURE=yes
- ${LOCALBASE}/bin/sdl11-config -> ${SDL_CONFIG} - Add intlhack. - Add -I${LOCALBASE}/include and -L${LOCALBASE}/lib to allow it finds more stuff such as libintl.h and etc. - Install dbus files in the correct place. Since, it's installed in the wrong place and are not in plist, you can clean up by manual by do this: rm -rf /usr/X11R6/share/gnome/dbus-1 - Correct the plist if you disable/enable the dbus. - Bump the PORTREVISION. Reviewed by: marcus Approved by: "Jean-Baptiste Quenot" <jbq@caraldi.com> (maintainer)
Notes
Notes: svn path=/head/; revision=159214
Diffstat (limited to 'net/ekiga')
-rw-r--r--net/ekiga/Makefile17
-rw-r--r--net/ekiga/pkg-plist3
2 files changed, 15 insertions, 5 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index 12e7f8db07e5..f5ca5a0ae96b 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ekiga
PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
@@ -23,10 +23,11 @@ USE_GMAKE= yes
USE_SDL= sdl
INSTALLS_OMF= yes
USE_GNOME= libgnomeui gnomeprefix gnomehack gnomedocutils \
- evolutiondataserver
-USE_AUTOTOOLS= libtool:15
-LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config LDFLAGS="${LDFLAGS}"
+ evolutiondataserver intlhack
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \
--with-opal-dir=${LOCALBASE}
@@ -45,8 +46,14 @@ CONFIGURE_ARGS+=--disable-avahi
.ifndef (WITHOUT_DBUS)
LIB_DEPENDS+= dbus-1.2:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+=--enable-dbus
+PLIST_SUB+= DBUS:=""
.else
CONFIGURE_ARGS+=--disable-dbus
+PLIST_SUB+= DBUS:="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|{datadir}/dbus-1|(prefix)/share/dbus-1|g' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.post.mk>
diff --git a/net/ekiga/pkg-plist b/net/ekiga/pkg-plist
index b9c8754acfe3..533b8e496113 100644
--- a/net/ekiga/pkg-plist
+++ b/net/ekiga/pkg-plist
@@ -1,6 +1,9 @@
bin/ekiga
bin/ekiga-config-tool
+%%DBUS:%%bin/ekiga-helper
libdata/bonobo/servers/ekiga.server
+%%DBUS:%%share/dbus-1/services/net.ekiga.helper.service
+%%DBUS:%%share/dbus-1/services/net.ekiga.instance.service
share/gnome/applications/ekiga.desktop
share/gnome/help/ekiga/C/ekiga.xml
share/gnome/help/ekiga/C/figures/accounts_d1.png