diff options
author | jlam <jlam> | 2001-06-20 02:54:58 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-20 02:54:58 +0000 |
commit | 20c469e867191159fb48eeb6a0561acc6132a556 (patch) | |
tree | bba4fcb8d3ca5cd6504cbc508dd2a698faf9b4f4 | |
parent | 94a7877c4fcb73587ee4f6310f8521660e2900e5 (diff) | |
download | pkgsrc-20c469e867191159fb48eeb6a0561acc6132a556.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Compile
with SSL support and deal with fact that bzip2 programs must be installed
at run-time. Also, minor cosmetic fix to use XARGS instead of find/-exec.
-rw-r--r-- | chat/bitchx/Makefile | 29 |
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" |