3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
35 lines
936 B
Makefile
35 lines
936 B
Makefile
# $NetBSD: Makefile,v 1.3 2005/07/16 01:19:07 jlam Exp $
|
|
|
|
DISTNAME= bitchbot-1.0.2
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://www.r1ch.net/projects/bitchbot/download/
|
|
|
|
MAINTAINER= adrianp@stindustries.net
|
|
HOMEPAGE= http://www.r1ch.net/projects/bitchbot/
|
|
COMMENT= Bitchbot is a perl-based IRC bot
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_TOOLS+= perl:run
|
|
USE_PKGINSTALL= YES
|
|
|
|
REPLACE_PERL= bitch.pl genstats.pl
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/bitch/bitch.conf.template \
|
|
${PKG_SYSCONFDIR}/bitch.conf
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
@${SED} -e 's#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#g' \
|
|
< ${WRKSRC}/bitch.pl > ${WRKSRC}/bitch;
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bitch
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bitch ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/genstats.pl ${PREFIX}/bin/genstats
|
|
${INSTALL_DATA} ${WRKSRC}/bitch.conf.template \
|
|
${PREFIX}/share/examples/bitch
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|