summaryrefslogtreecommitdiff
path: root/chat/pircbot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/pircbot/Makefile')
-rw-r--r--chat/pircbot/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/chat/pircbot/Makefile b/chat/pircbot/Makefile
new file mode 100644
index 00000000000..d1e254766da
--- /dev/null
+++ b/chat/pircbot/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/18 17:42:14 jmmv Exp $
+#
+
+DISTNAME= pircbot-0.9.11
+CATEGORIES= chat
+MASTER_SITES= http://www.jibble.org/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.jibble.org/pircbot.php
+COMMENT= Java IRC Bot Framework
+
+USE_JAVA= run
+NO_PATCH= YES
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+post-extract:
+ ${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+ ${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
+ ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${PREFIX}/lib/java
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/pircbot
+ cd ${WRKSRC}/javadocs && \
+ ${PAX} -rwpppm . ${PREFIX}/share/doc/java/pircbot
+
+.include "../../mk/java.mk"
+.include "../../mk/bsd.pkg.mk"