summaryrefslogtreecommitdiff
path: root/chat/bnc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/bnc/Makefile')
-rw-r--r--chat/bnc/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/chat/bnc/Makefile b/chat/bnc/Makefile
new file mode 100644
index 00000000000..7f6db9de7d5
--- /dev/null
+++ b/chat/bnc/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+# FreeBSD Id: ports/irc/bnc/Makefile,v 1.9 2000/05/22 06:38:58 will Exp
+
+DISTNAME= bnc2.8.2
+PKGNAME= bnc-2.8.2
+CATEGORIES= chat
+MASTER_SITES= http://hometown.psn.net/~andrews/dist/ \
+ http://zuntum.eik.pl/distfiles/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://bnc.dragondata.com
+COMMENT= Simple IRC relay proxy with support for virtual hosting
+
+DEPENDS+= dialog-*:../../misc/dialog
+
+GNU_CONFIGURE= YES
+
+MAKE_ENV+= "OPTS=${CFLAGS}" \
+ "CC=${CC}"
+
+post-patch:
+ ${SED} -e "s,./mkpasswd,${PREFIX}/bin/bncmkpasswd,g" \
+ -e "s,dialog --,${LOCALBASE}/bin/dialog --,g" \
+ ${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.done
+ ${MV} ${WRKSRC}/bncsetup.done ${WRKSRC}/bncsetup
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin/bncmkpasswd
+ ${INSTALL_DATA} ${WRKSRC}/example.conf \
+ ${PREFIX}/share/examples/bnc.conf.sample
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc
+
+.include "../../mk/bsd.pkg.mk"