mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
f5fa4d6050
Hat: portmgr
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# New ports collection makefile for: infobot
|
|
# Date created: 17 November 1999
|
|
# Whom: perlguy@perlguy.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= infobot
|
|
PORTVERSION= 0.45.3
|
|
CATEGORIES= irc
|
|
MASTER_SITES= http://www.infobot.org/src/ \
|
|
http://www.infobot.org/src/prior/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Bot written in Perl with a rabid AI
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
${CP} -r ${WRKSRC}/src ${WRKSRC}/extras ${WRKSRC}/files \
|
|
${WRKSRC}/scripts ${DATADIR}/
|
|
${RM} ${DATADIR}/src/*.orig
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/REVISIONS ${DOCSDIR}
|
|
.endif
|
|
${MKDIR} ${PREFIX}/etc/infobot
|
|
${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/etc/infobot
|
|
${SED} -e 's,$$param{\(.\)basedir\(.\)} = .*,$$param{\1basedir\2} = "${DATADIR}";,' \
|
|
-e 's,$$param{\(.\)confdir\(.\)} = .*,$$param{\1confdir\2} = "${PREFIX}/etc/infobot";,' \
|
|
${WRKSRC}/infobot > ${WRKDIR}/infobot
|
|
${INSTALL_SCRIPT} ${WRKDIR}/infobot ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|