summaryrefslogtreecommitdiffstats
path: root/irc/py-irclib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/py-irclib/Makefile')
-rw-r--r--irc/py-irclib/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile
new file mode 100644
index 0000000..3d04d4b
--- /dev/null
+++ b/irc/py-irclib/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: py-irclib
+# Date created: 25 April 2001
+# Whom: Hye-Shik Chang <perky@python.or.kr>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irclib
+PORTVERSION= 0.3.1
+CATEGORIES= irc python
+MASTER_SITES= http://joel.rosdahl.net/hacks/ \
+ http://www3.kr.freebsd.org/~pekry/distfiles/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= perky@python.or.kr
+
+USE_PYTHON= yes
+
+PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
+EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py
+
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PYTHON_SITELIBDIR}/
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+.for file in ${EXAMPLEFILES}
+ @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/share/examples/${PORTNAME}/
+.endfor
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/${PORTNAME}/
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud