summaryrefslogtreecommitdiff
path: root/chat/bitchx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/bitchx/Makefile')
-rw-r--r--chat/bitchx/Makefile40
1 files changed, 7 insertions, 33 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile
index 5ca6fbad3df..18719a05960 100644
--- a/chat/bitchx/Makefile
+++ b/chat/bitchx/Makefile
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2003/01/28 22:03:06 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2003/01/31 00:17:45 salo Exp $
+#
-DISTNAME= ircii-pana-1.0c18
-PKGNAME= bitchx-1.0.3.18
-WRKSRC= ${WRKDIR}/BitchX
+DISTNAME= ircii-pana-1.0c19
+PKGNAME= bitchx-1.0.3.19
CATEGORIES= chat
-
-# /old/ is for when pkgsrc is not up to date
MASTER_SITES= ftp://ftp.bitchx.org/pub/BitchX/source/ \
ftp://ftp.bitchx.org/pub/BitchX/source/old/
@@ -13,43 +11,19 @@ MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://www.bitchx.org/
COMMENT= IRC client based on ircII
+WRKSRC= ${WRKDIR}/BitchX
+
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-ssl
-# 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:../../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 -print \
- | ${XARGS} ${RM} -rf ) 2>/dev/null
-
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
-# The WANT_NOTIFY_BITCHX_COM message after configure is misleading, we
-# disable this by default.
-post-configure:
- @${ECHO}
- @${ECHO} ===== WANT_NOTIFY_BITCHX_COM is disabled by default =====
- @${ECHO}
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/BitchX.1 ${PREFIX}/man/man1
- # delete installed bzip2'd man page
- ${RM} ${PREFIX}/man/man1/BitchX.1.bz2
- ${INSTALL_DATA} ${WRKSRC}/doc/BitchX.doc ${PREFIX}/share/bx
-
+.include "../../archivers/bzip2/buildlink2.mk"
.include "../../devel/ncurses/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"