2013-02-07 00:20:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2013/02/06 23:21:44 jperkin Exp $
|
2001-03-06 19:39:51 +01:00
|
|
|
|
2005-06-25 16:48:45 +02:00
|
|
|
DISTNAME= bnc2.9.4
|
2003-01-31 02:00:50 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/bnc/&-/}
|
2013-02-07 00:20:50 +01:00
|
|
|
PKGREVISION= 3
|
2001-03-06 19:39:51 +01:00
|
|
|
CATEGORIES= chat
|
2009-05-21 01:38:33 +02:00
|
|
|
MASTER_SITES= http://www.ircadmin.net/bnc/
|
2001-03-06 19:39:51 +01:00
|
|
|
|
2010-02-26 11:28:30 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-03-11 14:38:50 +01:00
|
|
|
HOMEPAGE= http://www.gotbnc.com/
|
2001-03-06 19:39:51 +01:00
|
|
|
COMMENT= Simple IRC relay proxy with support for virtual hosting
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= dialog-[0-9]*:../../misc/dialog
|
2001-03-06 19:39:51 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
2005-06-25 16:48:45 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-03-06 19:39:51 +01:00
|
|
|
post-patch:
|
2003-01-31 02:00:50 +01:00
|
|
|
${MV} ${WRKSRC}/bncsetup ${WRKSRC}/bncsetup.orig
|
2003-03-11 14:38:50 +01:00
|
|
|
${SED} -e "s|./mkpasswd|${PREFIX}/bin/bncmkpasswd|g" \
|
|
|
|
-e "s|dialog --|${LOCALBASE}/bin/dialog --|g" \
|
2003-01-31 02:00:50 +01:00
|
|
|
${WRKSRC}/bncsetup.orig > ${WRKSRC}/bncsetup
|
2001-03-06 19:39:51 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 02:50:26 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bnc ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${DESTDIR}${PREFIX}/bin/bncmkpasswd
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/bnc
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bnc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bnc
|
2003-03-11 14:38:50 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/example.conf \
|
2008-03-03 02:50:26 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/bnc/bnc.conf
|
2001-03-06 19:39:51 +01:00
|
|
|
|
2005-06-25 16:48:45 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-03-06 19:39:51 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|