1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/irc/pircbot/Makefile
Yen-Ming Lee 3b14778037 Correctly use DOCSDIR (as recommended by portlint).
Also used JAVAJARDIR in Makefile.

PR:		55459
Submitted by:	Tim Bishop <tim@bishnet.net>
2003-08-12 10:57:48 +00:00

41 lines
1.1 KiB
Makefile

# 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/ \
http://www.i-scream.org/downloads/other/
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>