07dd3147c6
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
83 lines
1.8 KiB
Makefile
83 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2007/09/07 22:12:11 jlam Exp $
|
|
|
|
DISTNAME= sirc-2.211
|
|
PKGREVISION= 2
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://www.iagora.com/~espel/sirc/ \
|
|
http://www.iagora.com/~espel/sirc/scripts/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${SIRC_SCRIPTS}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.iagora.com/~espel/sirc/sirc.html
|
|
COMMENT= IRC client written and programmable in perl
|
|
|
|
DEPENDS+= p5-Socket6>=0.07:../../net/p5-Socket6
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
# supports IPv6 (actually, AF-independent)
|
|
BUILD_DEFS+= IPV6_READY
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
USE_TOOLS+= perl:run
|
|
SIRC_SCRIPTS= \
|
|
adcc.pl \
|
|
akickban.pl \
|
|
avoice.pl \
|
|
country.pl \
|
|
finger.pl \
|
|
ftp.pl \
|
|
howl.pl \
|
|
hotmail.pl \
|
|
lastlog.pl \
|
|
nocolor.pl \
|
|
patattack.pl \
|
|
prefix.pl \
|
|
quiet.pl \
|
|
quit.pl \
|
|
ssfe.diff \
|
|
thx.pl \
|
|
winnuke.pl \
|
|
www.pl \
|
|
yiff.pl
|
|
|
|
NO_BUILD= yes
|
|
DIST_SUBDIR= sirc
|
|
|
|
REPLACE_PERL+= dsirc
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if defined(DEFAULT_IRC_SERVER)
|
|
IRC_SERVER= ${DEFAULT_IRC_SERVER}
|
|
.else
|
|
IRC_SERVER= us.undernet.org
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/sirc
|
|
cd ${WRKSRC} ; ( \
|
|
${ECHO} "y" ; \
|
|
${ECHO} "" ; \
|
|
${ECHO} "" ; \
|
|
${ECHO} "" ; \
|
|
${ECHO} "-O3" ; \
|
|
${ECHO} "" ; \
|
|
${ECHO} "${PERL5}" ; \
|
|
${ECHO} "${PREFIX}/bin" ; \
|
|
${ECHO} "y" ; \
|
|
${ECHO} "${PREFIX}/lib/sirc" ; \
|
|
${ECHO} "y" ; \
|
|
${ECHO} "n" ; \
|
|
${ECHO} "${PREFIX}/${PKGMANDIR}/man1" ; \
|
|
${ECHO} "${IRC_SERVER}" ; \
|
|
${ECHO} "" ; \
|
|
) | ./install
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/sirc/scripts
|
|
@for i in ${SIRC_SCRIPTS} ; do \
|
|
${ECHO} installing $$i ; \
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${PREFIX}/lib/sirc/scripts/$$i ; done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|