diff options
Diffstat (limited to 'chat/xchat/Makefile')
-rw-r--r-- | chat/xchat/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index 0c4167ac653..37f98d8561b 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -1,18 +1,20 @@ -# $NetBSD: Makefile,v 1.50 2007/05/25 23:08:57 joerg Exp $ +# $NetBSD: Makefile,v 1.51 2007/08/10 19:14:06 tron Exp $ PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" -MAINTAINER= tron@NetBSD.org +PKGREVISION= 1 +MAINTAINER= tron@NetBSD.org COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit CONFLICTS= xchat-gnome-[0-9]* USE_TOOLS+= msgfmt -USE_DIRS+= xdg-1.1 USE_PKGLOCALEDIR= YES +USE_DIRS+= xdg-1.1 +GCONF2_SCHEMAS= apps_xchat_url_handler.schemas CONFIGURE_ARGS+= --enable-tcl=no CONFIGURE_ARGS+= --disable-perl @@ -25,6 +27,7 @@ LDFLAGS.IRIX+= -lX11 .include "options.mk" .include "../../devel/gettext-lib/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 .include "../../x11/gtk2/buildlink3.mk" @@ -46,4 +49,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/plugins/plugin20.html \ ${DESTDIR}${PREFIX}/share/doc/xchat/ +.if !empty(PKG_OPTIONS:Mgnome) + + ${INSTALL_DATA_DIR} ${DESTDIR}${GCONF2_SCHEMAS_DIR} +# In case there're ever additional schema files, use ODE loop. + ${GCONF2_SCHEMAS:@.s.@${INSTALL_DATA} ${WRKSRC}/src/common/dbus/${.s.} \ + ${DESTDIR}${GCONF2_SCHEMAS_DIR}/@} +.endif + .include "../../mk/bsd.pkg.mk" |