blob: 62fca32c64b07e6860167711c39d74a3fdd60c2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Makoto Matsushita <matusita@FreeBSD.org>
# $FreeBSD$
PORTNAME= keitairc
PORTVERSION= 2.0
CATEGORIES= irc
MASTER_SITES= SFJP/${PORTNAME}/47485
MAINTAINER= ports@FreeBSD.org
COMMENT= IRC proxy for mobilephone that have a web interface
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
CONFLICTS= keitairc-1.*
USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= keitairc
post-extract:
${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -rf
post-patch:
${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -rf
${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
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "doc etc lib" ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
|