b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2005/12/05 20:49:52 rillig Exp $
|
|
|
|
DISTNAME= bnc2.9.4
|
|
PKGNAME= ${DISTNAME:S/bnc/&-/}
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://www.gotbnc.com/files/ \
|
|
http://www.ircadmin.net/bnc/
|
|
|
|
MAINTAINER= zuntum@NetBSD.org
|
|
HOMEPAGE= http://www.gotbnc.com/
|
|
COMMENT= Simple IRC relay proxy with support for virtual hosting
|
|
|
|
DEPENDS+= dialog-[0-9]*:../../misc/dialog
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-ssl
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/bncsetup ${WRKSRC}/bncsetup.orig
|
|
${SED} -e "s|./mkpasswd|${PREFIX}/bin/bncmkpasswd|g" \
|
|
-e "s|dialog --|${LOCALBASE}/bin/dialog --|g" \
|
|
${WRKSRC}/bncsetup.orig > ${WRKSRC}/bncsetup
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin/bncmkpasswd
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bnc
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc
|
|
${INSTALL_DATA} ${WRKSRC}/example.conf \
|
|
${PREFIX}/share/examples/bnc/bnc.conf
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|