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

PORTNAME=   pircbot
PORTVERSION=    1.0.2
CATEGORIES= irc java
MASTER_SITES=   http://www.jibble.org/files/ \
        http://www.i-scream.org.uk/downloads/other/

MAINTAINER= tim@bishnet.net

USE_ZIP=    yes
NO_BUILD=   yes

USE_JAVA=   1.1+

do-install:
    ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${PREFIX}/share/java/classes
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/pircbot
    (cd ${WRKSRC}/javadocs && ${TAR} -cf - . | ${TAR} -xf - -C ${PREFIX}/share/doc/pircbot)
.endif

post-install:
    @echo "    ---------------------------------------------------------------"
    @echo "    To use pircbot add ${PREFIX}/share/java/classes/pircbot.jar to"
    @echo "    your classpath. A short tutorial can be found here:"
    @echo "        http://www.jibble.org/pircbot.php"
.if !defined(NOPORTDOCS)
    @echo "    pircbot javadoc documentation has also been installed in:"
    @echo "        ${PREFIX}/share/doc/pircbot"
.endif
    @echo "    ---------------------------------------------------------------"

.include <bsd.port.mk>