summaryrefslogtreecommitdiff
path: root/chat/psybnc/Makefile
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2014-06-15 21:55:17 +0000
committerpettai <pettai@pkgsrc.org>2014-06-15 21:55:17 +0000
commit732640c3e0c2c0c6b94bd97afa1649ec2554777c (patch)
treefffd80ef78a1b09ad38b50145edffdeb26e87cf5 /chat/psybnc/Makefile
parent2073d45299cb08be8d0b750f61ce83e07e6682a5 (diff)
downloadpkgsrc-732640c3e0c2c0c6b94bd97afa1649ec2554777c.tar.gz
psyBNC is an easy-to-use, multi-user, permanent IRC-Bouncer with many features.
Some of its features include symmetric ciphering of talk and connections (Blowfish and IDEA), the possibility of linking multiple bouncers to an internal network including a shared partyline, vhost- and relay support to connected bouncers and an extensive online help system.
Diffstat (limited to 'chat/psybnc/Makefile')
-rw-r--r--chat/psybnc/Makefile68
1 files changed, 68 insertions, 0 deletions
diff --git a/chat/psybnc/Makefile b/chat/psybnc/Makefile
new file mode 100644
index 00000000000..2ca2b4bfa57
--- /dev/null
+++ b/chat/psybnc/Makefile
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1 2014/06/15 21:55:17 pettai Exp $
+#
+
+DISTNAME= psyBNC-2.4BETA2
+PKGNAME= psybnc-2.4b2
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psybnc/}
+
+MAINTAINER= pettai@NetBSD.org
+HOMEPAGE= http://www.psybnc.at/
+COMMENT= Easy-to-use, multi-user, IRC-Bouncer with many features
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/psybnc
+
+USE_TOOLS+= gmake
+
+PSYBNC_USER?= psybnc
+PSYBNC_GROUP?= psybnc
+PKG_GROUPS= ${PSYBNC_USER}
+PKG_USERS= ${PSYBNC_USER}:${PSYBNC_GROUP}
+PKG_GROUPS_VARS+= PSYBNC_GROUP
+PKG_USERS_VARS+= PSYBNC_USER
+
+CONF_FILES= share/examples/psybnc/psybnc.conf \
+ ${PKG_SYSCONFDIR}/psybnc.conf
+
+SUBST_CLASSES+= prefix
+SUBST_FILES.prefix= tools/autoconf.c
+SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_STAGE.prefix= post-patch
+
+SUBST_CLASSES+= openssl
+SUBST_FILES.openssl= makefile.out
+SUBST_SED.openssl= -e "s|/usr/bin/openssl|openssl|g"
+SUBST_SED.openssl= -e "s|req -new|req -new -batch|g"
+SUBST_STAGE.openssl= post-configure
+
+INSTALLATION_DIRS= bin share/examples/psybnc
+INSTALLATION_DIRS+= share/doc/psybnc
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${GMAKE}
+ ${CP} ${FILESDIR}/config.h ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${GMAKE} -f makefile.out
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/psybnc \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/psybncchk \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/FAQ \
+ ${DESTDIR}${PREFIX}/share/doc/psybnc
+ ${INSTALL_DATA} ${WRKSRC}/README \
+ ${DESTDIR}${PREFIX}/share/doc/psybnc
+ ${INSTALL_DATA} ${WRKSRC}/scripts/SCRIPTING \
+ ${DESTDIR}${PREFIX}/share/doc/psybnc
+ ${INSTALL_DATA} ${WRKSRC}/scripts/example/DEFAULT.SCRIPT \
+ ${DESTDIR}${PREFIX}/share/examples/psybnc
+ ${INSTALL_DATA} ${WRKSRC}/psybnc.conf \
+ ${DESTDIR}${PREFIX}/share/examples/psybnc
+
+.include "../../net/libcares/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"