summaryrefslogtreecommitdiff
path: root/chat/bitchx
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-15 09:18:07 +0000
committersalo <salo@pkgsrc.org>2003-05-15 09:18:07 +0000
commit8e9a97d3055ae36b0813b808a881cd17f3a80110 (patch)
tree3fe0d3c4d650599e488d41c65dbaf34a955cf228 /chat/bitchx
parenteb9bf244efb61b1a5eb116606de46aff6fe31c91 (diff)
downloadpkgsrc-8e9a97d3055ae36b0813b808a881cd17f3a80110.tar.gz
Style and whitespace, no functional changes.
Diffstat (limited to 'chat/bitchx')
-rw-r--r--chat/bitchx/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile
index 2878af53773..fdf71030a7a 100644
--- a/chat/bitchx/Makefile
+++ b/chat/bitchx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2003/05/14 20:09:12 salo Exp $
+# $NetBSD: Makefile,v 1.20 2003/05/15 09:18:07 salo Exp $
#
DISTNAME= ircii-pana-1.0c19
@@ -13,20 +13,16 @@ MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://www.bitchx.org/
COMMENT= IRC client based on ircII
-USE_BUILDLINK2= yes
-USE_PKGINSTALL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-ssl
+USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
+GNU_CONFIGURE= YES
-post-patch:
- @${MV} ${WRKSRC}/doc/BitchX.1 ${WRKSRC}/doc/BitchX.1.orig
- @${SED} ${FILES_SUBST_SED} \
- ${WRKSRC}/doc/BitchX.1.orig > ${WRKSRC}/doc/BitchX.1
+CONFIGURE_ARGS= --with-ssl
-.if defined(BITCHX_WITH_GTK)
+.if defined(BITCHX_WITH_GTK) && !empty(BITCHX_WITH_GTK:M[Yy][Ee][Ss])
+.include "../../graphics/imlib/buildlink2.mk"
.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"
@@ -36,6 +32,11 @@ PLIST_SUBST+= GTK=
PLIST_SUBST+= NOT_GTK=
.endif
+post-patch:
+ @${MV} ${WRKSRC}/doc/BitchX.1 ${WRKSRC}/doc/BitchX.1.orig
+ @${SED} ${FILES_SUBST_SED} \
+ ${WRKSRC}/doc/BitchX.1.orig > ${WRKSRC}/doc/BitchX.1
+
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../devel/ncurses/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"