aboutsummaryrefslogtreecommitdiffstats
path: root/irc/pircbot/Makefile
blob: 3a6bed02d89e94dffa477c6f428908c53fa31bcc (plain) (blame)
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
# New ports collection makefile for:   pircbot
# Date created:                2 June 2002
# Whom:                        Tim Bishop <tim@bishnet.net>
#
# $FreeBSD$
#

PORTNAME=   pircbot
PORTVERSION=    1.4.4
CATEGORIES= irc java
MASTER_SITES=   http://www.jibble.org/files/ \
        ftp://ftp.i-scream.org/pub/www.jibble.org/files/ \
        http://www.i-scream.org/pub/www.jibble.org/files/

MAINTAINER= tdb@FreeBSD.org
COMMENT=    PircBot Java IRC Bot Framework

USE_ZIP=    yes
NO_BUILD=   yes

USE_JAVA=   yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${JAVAJARDIR}
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/javadocs && ${TAR} -cf - . | ${TAR} -xf - -C ${DOCSDIR})
.endif

post-install:
    @${ECHO_MSG} "    ---------------------------------------------------------------"
    @${ECHO_MSG} "    To use pircbot add ${JAVAJARDIR}/pircbot.jar to"
    @${ECHO_MSG} "    your classpath. A short tutorial can be found here:"
    @${ECHO_MSG} "        http://www.jibble.org/pircbot.php"
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "    pircbot javadoc documentation has also been installed in:"
    @${ECHO_MSG} "        ${DOCSDIR}"
.endif
    @${ECHO_MSG} "    ---------------------------------------------------------------"

.include <bsd.port.mk>