pkgsrc/chat/ircservices/Makefile
adrianp 721b5dcd13 - Update to 5.0.44
2004/12/13 .44  Fixed a careless error in the va_copy workaround.
2004/12/02 .43  Added workaround for va_copy with obsolete compilers.
		Reported by <us44ever (at) hotmail.com>
2004/12/02      Added support for SGlines on Unreal.  Reported by Dionisios
		K. <vonitsa_net (at) yahoo.gr>
2004/12/02      Fixed "unknown message" on Unreal SWHOIS.  Reported by
		Anton Wolkov <phan70m (at) gmail.com>
2004/11/22      Fixed URLs in the documentation to point to the new website.
2004/11/22 .42  The mail/smtp module now allows multiple RelayHost
		configuration directives for backup relay servers.
		Suggested by Torbjorn Svennson <azoff (at) se.linux.org>
2004/11/22      Fixed extraneous "Unknown message" log messages on Unreal.
		Reported by Ali Sor <alisor (at) softhome.net>
2004/10/29      Clarified "please change your nick" message text.
		Suggested by Dylan v.d Merwe <dylanvdm (at) icon.co.za>
2004/10/25      Fixed crash when using the Japanese language file with the
		OperServ SLINE COUNT command.
2004/10/19      Fixed bug allowing StatServ and global noticer nicknames to
		be registered/linked.  Reported by M. van Cuijk
		<mark (at) phedny.net>
2004/10/14      Fixed various bugs and warnings when compiling on x86-64.
		Reported by <liverbugg (at) rinux.org>
2004/10/14      Added workaround for GNU coreutils (>=5.2) brokenness.
2004/10/13      SET MLOCK no longer allows locking +K without +i on Unreal.
		Reported by <help (at) thaiirc.in.th>
2004/10/13      Fixed cosmetic bug in MemoServ IGNORE.  Reported by
		<saman (at) ttnet.net.tr>
2004/10/11      Fixed disconnect on incoming data flood.  Reported by
		<ballsy (at) mystical.net>
2004/10/03      Updated the README file for the current manual structure.
2005-01-19 21:59:24 +00:00

73 lines
2.5 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2005/01/19 21:59:24 adrianp Exp $
#
DISTNAME= ircservices-5.0.44
CATEGORIES= chat
MASTER_SITES= ftp://ftp.esper.net/ircservices/ \
ftp://ftp.esper.net/ircservices/old/ \
http://www.ircservices.esper.net/download/ \
ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/
MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://www.ircservices.esper.net/
COMMENT= Services for IRC networks
HAS_CONFIGURE= YES
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_GNU_TOOLS+= make
USE_GNU_TOOLS+= grep sed
USE_PERL5= build
RCD_SCRIPTS= ircservices
CONFIGURE_ARGS= -prefix ${PREFIX}
SUBST_CLASSES= install utils conf
SUBST_STAGE.install= post-patch
SUBST_FILES.install= install-script tools/ircservices-chk.in
SUBST_SED.install= -e "s|/bin/cp|${CP}|g" \
-e "s|/bin/chown|${CHOWN}|g" \
-e "s|/bin/chgrp|${CHGRP}|g" \
-e "s|/bin/chmod|${CHMOD}|g" \
-e "s|@DATDEST@|${VARBASE}/run|g"
SUBST_MESSAGE.install= "Fixing scripts."
SUBST_STAGE.utils= post-patch
SUBST_FILES.utils= data/Makefile tools/Makefile
SUBST_SED.utils= -e "s|chgrp|${CHGRP}|g" \
-e "s|chmod|${CHMOD}|g" \
-e "s|find|${FIND}|g"
SUBST_MESSAGE.utils= "Fixing paths of hard-coded utilities."
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= data/example-ircservices.conf data/example-modules.conf
SUBST_SED.conf= -e "s|/usr/local|${PREFIX}|g" \
-e "s|ircservices.log|${VARBASE}/log/ircservices.log|g"\
-e "s|ircservices.pid|${VARBASE}/run/ircservices.pid|g"\
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g"
SUBST_MESSAGE.conf= "Fixing configuration files."
CONF_FILES_PERMS= ${PREFIX}/share/examples/ircservices/ircservices.conf \
${PREFIX}/lib/services/ircservices.conf \
${BINOWN} ${BINGRP} 0640
CONF_FILES_PERMS+= ${PREFIX}/share/examples/ircservices/modules.conf \
${PREFIX}/lib/services/modules.conf \
${BINOWN} ${BINGRP} 0640
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ircservices
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircservices
${INSTALL_MAN_DIR} ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/docs/*.html \
${PREFIX}/share/doc/html/ircservices
${INSTALL_MAN} ${WRKSRC}/docs/*.8 ${PREFIX}/man/man8
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/services/helpfiles
${INSTALL_DATA} ${WRKSRC}/data/example-ircservices.conf \
${PREFIX}/share/examples/ircservices/ircservices.conf
${INSTALL_DATA} ${WRKSRC}/data/example-modules.conf \
${PREFIX}/share/examples/ircservices/modules.conf
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"