2007-09-15 18:36:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/09/15 22:36:52 merdely Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= simple IRC relay proxy with support for virtual hosting
|
2001-02-27 12:29:46 -05:00
|
|
|
|
2004-04-04 10:19:01 -04:00
|
|
|
DISTNAME= ${PKGNAME:S,-,,}
|
2005-03-02 15:13:23 -05:00
|
|
|
PKGNAME= bnc-2.9.4
|
2001-02-27 12:29:46 -05:00
|
|
|
CATEGORIES= net
|
2004-04-04 10:19:01 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
2001-02-27 12:29:46 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://gotbnc.com/
|
|
|
|
|
2004-04-18 02:41:11 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2001-02-27 12:29:46 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2001-02-27 12:29:46 -05:00
|
|
|
|
2005-01-11 10:04:42 -05:00
|
|
|
RUN_DEPENDS= :dialog-*:misc/dialog
|
|
|
|
CONFIGURE_STYLE= gnu
|
2001-02-27 12:29:46 -05:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2001-02-27 12:29:46 -05:00
|
|
|
@sed -e s#!!PREFIX!!#${PREFIX}#g \
|
|
|
|
${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.new
|
|
|
|
@mv ${WRKSRC}/bncsetup.new ${WRKSRC}/bncsetup
|
|
|
|
|
2004-10-15 12:51:16 -04:00
|
|
|
ALL_TARGET= ALL
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-02-27 12:29:46 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bnc
|
|
|
|
cd ${WRKBUILD}; ${INSTALL_PROGRAM} bnc mkpasswd ${PREFIX}/bin
|
|
|
|
cd ${WRKBUILD}; ${INSTALL_SCRIPT} bncchk bncsetup ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example.conf \
|
|
|
|
${PREFIX}/share/examples/bnc/bnc.conf.sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|