From 1f562cc24bceda5dd828e751c393bca5883f130f Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 5 May 2003 06:06:11 +0000 Subject: build with GTK support if BITCHX_WITH_GTK is defined. no PKGREVISION bump as the default build is unchanged. --- chat/bitchx/Makefile | 15 ++++++++++++++- chat/bitchx/PLIST | 10 +++++----- 2 files changed, 19 insertions(+), 6 deletions(-) (limited to 'chat') diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index 13a7e6a9192..8d9f76cf22a 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/03/29 21:20:29 salo Exp $ +# $NetBSD: Makefile,v 1.18 2003/05/05 06:06:11 grant Exp $ # DISTNAME= ircii-pana-1.0c19 @@ -23,6 +23,19 @@ post-patch: @${SED} ${FILES_SUBST_SED} \ ${WRKSRC}/doc/BitchX.1.orig > ${WRKSRC}/doc/BitchX.1 +.if defined(BITCHX_WITH_GTK) +.include "../../x11/gnome-libs/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" +.include "../../graphics/imlib/buildlink2.mk" +CONFIGURE_ARGS+= --with-gtk +CFLAGS+= -I${PREFIX}/include/gnome-1.0 +PLIST_SUBST+= GTK="gtk" +PLIST_SUBST+= NOT_GTK="@comment " +.else +PLIST_SUBST+= GTK= +PLIST_SUBST+= NOT_GTK= +.endif + .include "../../archivers/bzip2/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" diff --git a/chat/bitchx/PLIST b/chat/bitchx/PLIST index c08b742cdb7..4e19ba814dd 100644 --- a/chat/bitchx/PLIST +++ b/chat/bitchx/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.4 2003/01/31 00:17:45 salo Exp $ -bin/BitchX -bin/BitchX-1.0c19 -bin/scr-bx +@comment $NetBSD: PLIST,v 1.5 2003/05/05 06:06:11 grant Exp $ +bin/${GTK}BitchX +bin/${GTK}BitchX-1.0c19 +${NOT_GTK}bin/scr-bx man/man1/BitchX.1 share/bx/BitchX.doc share/bx/BitchX.help @@ -961,7 +961,7 @@ share/bx/translation/SWEDISH_NAMES_COM.bz2 share/bx/translation/SWISS.bz2 share/bx/translation/UNITED_KINGDOM.bz2 share/bx/translation/UNITED_KINGDOM_COM.bz2 -share/bx/wserv +${NOT_GTK}share/bx/wserv @dirrm share/bx/translation @dirrm share/bx/script @dirrm share/bx/help/8_Scripts -- cgit v1.2.3