2013-08-03 10:45:51 +02:00
|
|
|
# Created by: Makoto Matsushita <matusita@FreeBSD.org>
|
2009-10-21 17:03:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= keitairc
|
2010-05-19 04:36:29 +02:00
|
|
|
PORTVERSION= 2.0
|
2009-10-21 17:03:30 +02:00
|
|
|
CATEGORIES= irc
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= SFJP/${PORTNAME}/47485
|
2009-10-21 17:03:30 +02:00
|
|
|
|
2012-04-03 02:11:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-06-28 20:37:23 +02:00
|
|
|
COMMENT= IRC proxy for mobilephone that have a web interface
|
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
RUN_DEPENDS= p5-POE-Component-IRC>=0:irc/p5-POE-Component-IRC \
|
|
|
|
p5-URI>=0:net/p5-URI \
|
|
|
|
p5-libwww>=0:www/p5-libwww \
|
|
|
|
p5-HTML-Template>=0:www/p5-HTML-Template \
|
|
|
|
p5-XML-Simple>=0:textproc/p5-XML-Simple \
|
|
|
|
p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \
|
|
|
|
p5-AppConfig>=0:devel/p5-AppConfig
|
2009-10-21 17:03:30 +02:00
|
|
|
|
|
|
|
CONFLICTS= keitairc-1.*
|
2013-05-07 12:00:57 +02:00
|
|
|
|
2013-08-03 10:45:51 +02:00
|
|
|
USES= shebangfix perl5
|
2013-05-07 12:00:57 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SHEBANG_FILES= keitairc
|
2009-10-21 17:03:30 +02:00
|
|
|
|
|
|
|
post-extract:
|
2016-10-21 14:51:40 +02:00
|
|
|
${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -r
|
2009-10-21 17:03:30 +02:00
|
|
|
|
|
|
|
post-patch:
|
2016-10-21 14:51:40 +02:00
|
|
|
${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -r
|
2013-05-07 12:00:57 +02:00
|
|
|
${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib," \
|
|
|
|
${WRKSRC}/keitairc
|
|
|
|
${REINPLACE_CMD} -i '' -e "s,__KEITAIRC_DATA_DIR__,${DATADIR}/lib," \
|
|
|
|
${WRKSRC}/lib/Keitairc/Config.pm
|
2009-10-21 17:03:30 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-05-03 15:58:38 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "doc etc lib" ${STAGEDIR}${DATADIR})
|
2009-10-21 17:03:30 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|