aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-04-10 00:12:15 +0800
committermezz <mezz@FreeBSD.org>2006-04-10 00:12:15 +0800
commiteef65e2bc59f6cb9eca163c96caa3989d7fe8314 (patch)
tree45367eb71d16682c2daa236be6cfd20bcc0d3492
parent991955039ffc25963b8806ee191d0cd894948fa8 (diff)
downloadfreebsd-ports-gnome-eef65e2bc59f6cb9eca163c96caa3989d7fe8314.tar.gz
freebsd-ports-gnome-eef65e2bc59f6cb9eca163c96caa3989d7fe8314.tar.zst
freebsd-ports-gnome-eef65e2bc59f6cb9eca163c96caa3989d7fe8314.zip
- 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)
-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