summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-04-09 16:12:15 +0000
committermezz <mezz@FreeBSD.org>2006-04-09 16:12:15 +0000
commiteef65e2bc59f6cb9eca163c96caa3989d7fe8314 (patch)
tree45367eb71d16682c2daa236be6cfd20bcc0d3492 /net
parent991955039ffc25963b8806ee191d0cd894948fa8 (diff)
downloadFreeBSD-ports-eef65e2bc59f6cb9eca163c96caa3989d7fe8314.zip
FreeBSD-ports-eef65e2bc59f6cb9eca163c96caa3989d7fe8314.tar.gz
- 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)
Diffstat (limited to 'net')
-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 12e7f8d..f5ca5a0 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 b9c8754..533b8e4 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
OpenPOWER on IntegriCloud