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

PORTNAME=	pircbot
PORTVERSION=	1.2.3
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=	tim@bishnet.net
COMMENT=	PircBot Java IRC Bot Framework

USE_ZIP=	yes
NO_BUILD=	yes

USE_JAVA=	1.1+

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

post-install:
	@echo "    ---------------------------------------------------------------"
	@echo "    To use pircbot add ${JAVAJARDIR}/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 "        ${DOCSDIR}"
.endif
	@echo "    ---------------------------------------------------------------"

.include <bsd.port.mk>
OpenPOWER on IntegriCloud