pkgsrc/chat/ircservices/Makefile
wiz 642494be1c Update to 5.0.41:
2004/10/03 .41  Fixed SQUIT of juped servers on Bahamut.  Reported by Pasi
                    Hirvonen <psh@iki.fi>
2004/10/03      Fixed cosmetic bug in NickServ SUSPEND help.  Reported by
                    Craig McLure <Craig@chatspike.net>
2004/10/02      Fixed bug causing endless log messages on full network
                    buffer.  Reported by <ballsy@mystical.net>
2004/10/02      OperServ AKILLCHAN now honors the WallOSAkill setting.
                    Reported by Pasi Hirvonen <psh@iki.fi>
2004/09/19      Fixed missing object file in Hybrid module compilation.
                    Reported by Jon Christopherson <jon@layertek.com>

Closes PR 27141.
2004-10-04 15:06:34 +00:00

71 lines
2.4 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2004/10/04 15:06:34 wiz Exp $
#
DISTNAME= ircservices-5.0.41
CATEGORIES= chat
MASTER_SITES= ftp://ftp.esper.net/ircservices/ \
ftp://ftp.esper.net/ircservices/old/
MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://www.ircservices.za.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"