blob: 34d874ed030f0dafddf5dda8ac9ad6c6d389fc8c (
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
43
44
|
# Created by: Gavin Atkinson <gavin@FreeBSD.org>
# $FreeBSD$
PORTNAME= tircd
PORTVERSION= 0.30
CATEGORIES= irc
MASTER_SITES= GOOGLE_CODE
MAINTAINER= gavin@FreeBSD.org
COMMENT= IRC proxy to Twitter
BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
RUN_DEPENDS= p5-JSON-Any>=0:converters/p5-JSON-Any \
p5-libwww>=0:www/p5-libwww \
p5-URI>=0:net/p5-URI \
p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
p5-Time-Local>=0:devel/p5-Time-Local \
p5-Storable>=0:devel/p5-Storable \
p5-Net-Twitter-Lite>=0:net/p5-Net-Twitter-Lite \
p5-POE>=0:devel/p5-POE \
p5-POE-Filter-IRCD>=0:irc/p5-POE-Filter-IRCD
USES= perl5 tar:tgz
USE_PERL5= patch build run
NO_BUILD= yes
USE_RC_SUBR= tircd
post-patch:
${REINPLACE_CMD} -e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \
-e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \
${WRKSRC}/tircd.pl ${WRKSRC}/tircd.pod
# pod2man needs perl
pod2man ${WRKSRC}/tircd.pod > ${WRKSRC}/tircd.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tircd.pl ${STAGEDIR}${PREFIX}/bin/tircd.pl
${INSTALL_MAN} ${WRKSRC}/tircd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/tircd.1
${INSTALL_DATA} ${WRKSRC}/tircd.cfg.example ${STAGEDIR}${PREFIX}/etc/tircd.cfg.sample
.include <bsd.port.mk>
|