aboutsummaryrefslogtreecommitdiffstats
path: root/irc/pircbot/Makefile
blob: 01435df47014b59468b81d67263f6deb077067af (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
# Created by: Tim Bishop <tim@bishnet.net>
# $FreeBSD$

PORTNAME=   pircbot
PORTVERSION=    1.5.0
PORTREVISION=   1
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

NO_STAGE=   yes
do-install:
    ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${JAVAJARDIR}
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${CP} -r ${WRKSRC}/javadocs/* ${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>