summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/bitchx/Makefile29
1 files changed, 18 insertions, 11 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile
index 0088dc9eb5f..64f77068320 100644
--- a/chat/bitchx/Makefile
+++ b/chat/bitchx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/16 13:51:21 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/06/20 02:54:58 jlam Exp $
DISTNAME= ircii-pana-1.0c18
PKGNAME= bitchx-1.0.3.18
@@ -10,22 +10,27 @@ MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://www.bitchx.org/
COMMENT= IRC client based on ircII
-DEPENDS+= ncurses>=5.2:../../devel/ncurses
-# not enabled since BitchX dumps core on startup
-#USE_CURSES= yes
-#REPLACE_NCURSES= ${WRKSRC}/bx-conf/ds_cell.c \
-# ${WRKSRC}/bx-conf/ds_cell.h \
-# ${WRKSRC}/bx-conf/file_cpy.c ${WRKSRC}/configure
-
+USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
-#CONFIGURE_ARGS+= --with-tgetent # forcibly refuse to use ncurses
+CONFIGURE_ARGS+= --with-ssl
+
+# We need ncurses since BitchX dumps core on startup when using curses.
+USE_NCURSES= yes
+NCURSES_REQD= 5.2
+
+# Files are installed using a .bz2 extension, and BitchX assumes it can
+# find bunzip2 in the PATH.
+#
+.if !exists(/usr/bin/bunzip2)
+DEPENDS+= bzip2-0.9.0b:../../archivers/bzip2
+.endif
# We don't need the CVS files, and if we don't delete them, they get
# installed later on; ignore error code, since we delete the directories
# before find can descend into them.
post-extract:
- -${FIND} ${WRKDIR}/BitchX/bitchx-docs -type d -name CVS \
- -exec ${RM} -r {} \; 2> /dev/null
+ ( ${FIND} ${WRKDIR}/BitchX/bitchx-docs -type d -name CVS -print0 \
+ | ${XARGS} -0 ${RM} -rf ) 2>/dev/null
# The WANT_NOTIFY_BITCHX_COM message after configure is misleading, we
# disable this by default.
@@ -40,4 +45,6 @@ post-install:
${RM} ${PREFIX}/man/man1/BitchX.1.bz2
${INSTALL_DATA} ${WRKSRC}/doc/BitchX.doc ${PREFIX}/share/bx
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"