View | Details | Raw Unified | Return to bug 83138
Collapse All | Expand All

(-)infobot/Makefile (-9 / +16 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	infobot
8
PORTNAME=	infobot
9
PORTVERSION=	0.44.5
9
PORTVERSION=	0.45.3
10
CATEGORIES=	irc
10
CATEGORIES=	irc
11
MASTER_SITES=	http://www.infobot.org/src/ \
11
MASTER_SITES=	http://www.infobot.org/src/ \
12
		http://www.infobot.org/src/prior/
12
		http://www.infobot.org/src/prior/
13
13
14
DISTNAME=	${PORTNAME}${PORTVERSION}
15
16
MAINTAINER=	perlguy@perlguy.com
14
MAINTAINER=	perlguy@perlguy.com
17
COMMENT=	Bot written in Perl with a rabid AI
15
COMMENT=	Bot written in Perl with a rabid AI
18
16
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
20
USE_PERL5=	yes
17
USE_PERL5=	yes
21
NO_BUILD=	yes
18
NO_BUILD=	yes
22
PLIST_SUB+=	VERSION="${PORTVERSION}"
23
19
24
do-install:
20
do-install:
25
	@if [ ! -d ${DATADIR}-${PORTVERSION} ]; then \
21
	${MKDIR} ${DATADIR}
26
		${MKDIR} ${DATADIR}-${PORTVERSION}; \
22
	${CP} -r ${WRKSRC}/src ${WRKSRC}/extras ${WRKSRC}/files \
27
	fi
23
		${WRKSRC}/scripts ${DATADIR}/
28
	${CP} -R ${WRKSRC}/* ${DATADIR}-${PORTVERSION}/
24
	${RM} ${DATADIR}/src/*.orig
25
.if !defined(NOPORTDOCS)
26
	${MKDIR} ${DOCSDIR}
27
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
28
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/REVISIONS ${DOCSDIR}
29
.endif 
30
	${MKDIR} ${PREFIX}/etc/infobot
31
	${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/etc/infobot
32
	${SED} -e 's,$$param{\(.\)basedir\(.\)} = .*,$$param{\1basedir\2} = "${DATADIR}";,' \
33
	-e 's,$$param{\(.\)confdir\(.\)} = .*,$$param{\1confdir\2} = "${PREFIX}/etc/infobot";,' \
34
	${WRKSRC}/infobot  > ${WRKDIR}/infobot
35
	${INSTALL_SCRIPT} ${WRKDIR}/infobot ${PREFIX}/bin
29
36
30
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)infobot/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (infobot0.44.5.tar.gz) = 2f555454c88dc16feb9c24f9e2de4e65
1
MD5 (infobot-0.45.3.tar.gz) = 897a005182928613eadd30c267ce9c5b
2
SIZE (infobot0.44.5.tar.gz) = 113388
2
SIZE (infobot-0.45.3.tar.gz) = 112346
(-)infobot/files/patch-src_DBM.pl (+10 lines)
Line 0 Link Here
1
--- src/DBM.pl.orig	Fri Jul  8 15:43:35 2005
2
+++ src/DBM.pl	Fri Jul  8 15:43:46 2005
3
@@ -35,6 +35,7 @@
4
 =cut
5
 
6
 BEGIN { push @INC, 'src' } # baad, bad juju here
7
+BEGIN { push @INC, '.' }
8
 
9
 use vars qw(%DBMS $Debug $Init_done $Old_warnings);
10
 
(-)infobot/pkg-plist (-79 / +82 lines)
Lines 1-79 Link Here
1
share/infobot-%%VERSION%%/files/sane-is.txt
1
bin/infobot
2
share/infobot-%%VERSION%%/files/infobot-is.txt
2
etc/infobot/infobot-are.txt
3
share/infobot-%%VERSION%%/files/infobot.channels
3
etc/infobot/infobot-is.txt
4
share/infobot-%%VERSION%%/files/infobot.config
4
etc/infobot/infobot.channels
5
share/infobot-%%VERSION%%/files/infobot.config-dist
5
@unexec if cmp -s %D/etc/infobot/infobot.config %D/etc/infobot/infobot.config-dist; then rm -f %D/etc/infobot/infobot.config; fi
6
share/infobot-%%VERSION%%/files/infobot.crontab
6
etc/infobot/infobot.config-dist
7
share/infobot-%%VERSION%%/files/infobot.help
7
etc/infobot/infobot.crontab
8
share/infobot-%%VERSION%%/files/infobot.users
8
@unexec if cmp -s %D/etc/infobot/infobot.help %D/etc/infobot/infobot.help-dist; then rm -f %D/etc/infobot/infobot.help; fi
9
share/infobot-%%VERSION%%/files/infobot.users-dist
9
etc/infobot/infobot.help-dist
10
share/infobot-%%VERSION%%/files/magic8.txt
10
@unexec if cmp -s %D/etc/infobot/infobot.users %D/etc/infobot/infobot.users-dist; then rm -f %D/etc/infobot/infobot.users; fi
11
share/infobot-%%VERSION%%/files/sane-are.txt
11
etc/infobot/infobot.users-dist
12
share/infobot-%%VERSION%%/files/sane-ignore.txt
12
etc/infobot/magic8.txt
13
share/infobot-%%VERSION%%/files/infobot-are.txt
13
etc/infobot/sane-are.txt
14
share/infobot-%%VERSION%%/scripts/update_db
14
etc/infobot/sane-ignore.txt
15
share/infobot-%%VERSION%%/scripts/curl
15
etc/infobot/sane-is.txt
16
share/infobot-%%VERSION%%/scripts/dump_db
16
%%DATADIR%%/extras/ANSI.pl
17
share/infobot-%%VERSION%%/scripts/flock-test
17
%%DATADIR%%/extras/Aviation.pl
18
share/infobot-%%VERSION%%/scripts/get_entries_from_log
18
%%DATADIR%%/extras/DNS.pl
19
share/infobot-%%VERSION%%/scripts/make_password
19
%%DATADIR%%/extras/Extras.pl
20
share/infobot-%%VERSION%%/scripts/make_snap
20
%%DATADIR%%/extras/Internic.pl
21
share/infobot-%%VERSION%%/scripts/restore_snap
21
%%DATADIR%%/extras/Math.pl
22
share/infobot-%%VERSION%%/scripts/run_if_needed.pl
22
%%DATADIR%%/extras/NOAA.pl
23
share/infobot-%%VERSION%%/scripts/track2fact
23
%%DATADIR%%/extras/RDF.pl
24
share/infobot-%%VERSION%%/scripts/unupdate_dbs
24
%%DATADIR%%/extras/Slashdot3.pl
25
share/infobot-%%VERSION%%/scripts/README.scripts
25
%%DATADIR%%/extras/Speller.pl
26
share/infobot-%%VERSION%%/src/stockquote.pl
26
%%DATADIR%%/extras/Traceroute.pl
27
share/infobot-%%VERSION%%/src/ANSI.pl
27
%%DATADIR%%/extras/W3Search.pl
28
share/infobot-%%VERSION%%/src/Channel.pl
28
%%DATADIR%%/extras/Zippy.pl
29
share/infobot-%%VERSION%%/src/CTCP.pl
29
%%DATADIR%%/extras/babel.pl
30
share/infobot-%%VERSION%%/src/Extras.pl
30
%%DATADIR%%/extras/exchange.pl
31
share/infobot-%%VERSION%%/src/DBM.pl
31
%%DATADIR%%/extras/excuse.pl
32
share/infobot-%%VERSION%%/src/DNS.pl
32
%%DATADIR%%/extras/insult.pl
33
share/infobot-%%VERSION%%/src/Internic.pl
33
%%DATADIR%%/extras/module-template
34
share/infobot-%%VERSION%%/src/Help.pl
34
%%DATADIR%%/extras/myRoutines.pl
35
share/infobot-%%VERSION%%/src/IrcExtras.pl
35
%%DATADIR%%/extras/nickometer.pl
36
share/infobot-%%VERSION%%/src/Irc.pl
36
%%DATADIR%%/extras/purldoc.pl
37
share/infobot-%%VERSION%%/src/IrcHooks.pl
37
%%DATADIR%%/extras/stockquote.pl
38
share/infobot-%%VERSION%%/src/Math.pl
38
%%DATADIR%%/scripts/update_db
39
share/infobot-%%VERSION%%/src/Misc.pl
39
%%DATADIR%%/scripts/curl
40
share/infobot-%%VERSION%%/src/NOAA.pl
40
%%DATADIR%%/scripts/dump_db
41
share/infobot-%%VERSION%%/src/Norm.pl
41
%%DATADIR%%/scripts/flock-test
42
share/infobot-%%VERSION%%/src/Params.pl
42
%%DATADIR%%/scripts/get_entries_from_log
43
share/infobot-%%VERSION%%/src/Process.pl
43
%%DATADIR%%/scripts/make_password
44
share/infobot-%%VERSION%%/src/Question.pl
44
%%DATADIR%%/scripts/make_snap
45
share/infobot-%%VERSION%%/src/RDF.pl
45
%%DATADIR%%/scripts/restore_snap
46
share/infobot-%%VERSION%%/src/Reply.pl
46
%%DATADIR%%/scripts/run_if_needed.pl
47
share/infobot-%%VERSION%%/src/Search.pl
47
%%DATADIR%%/scripts/track2fact
48
share/infobot-%%VERSION%%/src/Setup.pl
48
%%DATADIR%%/scripts/unupdate_dbs
49
share/infobot-%%VERSION%%/src/Slashdot3.pl
49
%%DATADIR%%/scripts/README.scripts
50
share/infobot-%%VERSION%%/src/Speller.pl
50
%%DATADIR%%/src/CTCP.pl
51
share/infobot-%%VERSION%%/src/Update.pl
51
%%DATADIR%%/src/Channel.pl
52
share/infobot-%%VERSION%%/src/Statement.pl
52
%%DATADIR%%/src/DBM.pl
53
share/infobot-%%VERSION%%/src/Traceroute.pl
53
%%DATADIR%%/src/Help.pl
54
share/infobot-%%VERSION%%/src/User.pl
54
%%DATADIR%%/src/Irc.pl
55
share/infobot-%%VERSION%%/src/Util.pm
55
%%DATADIR%%/src/IrcExtras.pl
56
share/infobot-%%VERSION%%/src/W3Search.pl
56
%%DATADIR%%/src/IrcHooks.pl
57
share/infobot-%%VERSION%%/src/Zippy.pl
57
%%DATADIR%%/src/Misc.pl
58
share/infobot-%%VERSION%%/src/babel.pl
58
%%DATADIR%%/src/Norm.pl
59
share/infobot-%%VERSION%%/src/exchange.pl
59
%%DATADIR%%/src/Params.pl
60
share/infobot-%%VERSION%%/src/excuse.pl
60
%%DATADIR%%/src/Process.pl
61
share/infobot-%%VERSION%%/src/insult.pl
61
%%DATADIR%%/src/Question.pl
62
share/infobot-%%VERSION%%/src/module-template
62
%%DATADIR%%/src/Reply.pl
63
share/infobot-%%VERSION%%/src/myRoutines.pl
63
%%DATADIR%%/src/Search.pl
64
share/infobot-%%VERSION%%/src/nickometer.pl
64
%%DATADIR%%/src/Setup.pl
65
share/infobot-%%VERSION%%/src/purldoc.pl
65
%%DATADIR%%/src/Statement.pl
66
share/infobot-%%VERSION%%/src/Aviation.pl
66
%%DATADIR%%/src/Update.pl
67
share/infobot-%%VERSION%%/doc/how_to_fix_files_uploaded_from_windows_to_unix.txt
67
%%DATADIR%%/src/User.pl
68
share/infobot-%%VERSION%%/doc/infobot_guide.html
68
%%DATADIR%%/src/Util.pm
69
share/infobot-%%VERSION%%/doc/intro.bit
69
%%PORTDOCS%%%%DOCSDIR%%/how_to_fix_files_uploaded_from_windows_to_unix.txt
70
share/infobot-%%VERSION%%/doc/makemanual.pl
70
%%PORTDOCS%%%%DOCSDIR%%/infobot_guide.html
71
share/infobot-%%VERSION%%/infobot
71
%%PORTDOCS%%%%DOCSDIR%%/intro.bit
72
share/infobot-%%VERSION%%/REVISIONS
72
%%PORTDOCS%%%%DOCSDIR%%/makemanual.pl
73
share/infobot-%%VERSION%%/README
73
%%PORTDOCS%%%%DOCSDIR%%/REVISIONS
74
share/infobot-%%VERSION%%/LICENSE
74
%%PORTDOCS%%%%DOCSDIR%%/README
75
@dirrm share/infobot-%%VERSION%%/files
75
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
76
@dirrm share/infobot-%%VERSION%%/scripts
76
%%PORTDOCS%%@dirrm %%DOCSDIR%%
77
@dirrm share/infobot-%%VERSION%%/src
77
@dirrm %%DATADIR%%/extras
78
@dirrm share/infobot-%%VERSION%%/doc
78
@dirrm %%DATADIR%%/files
79
@dirrm share/infobot-%%VERSION%%
79
@dirrm %%DATADIR%%/scripts
80
@unexec rmdir %D/etc/infobot > /dev/null 2>&1 || true
81
@unexec rmdir %D/share/infobot/src > /dev/null 2>&1 || true
82
@unexec rmdir %D/share/infobot > /dev/null 2>&1 || true

Return to bug 83138