diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-05-24 21:20:32 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-05-24 21:20:32 +0800 |
commit | d1d527cc40a6fa58449d5a3051e812f19ffbe806 (patch) | |
tree | f35d08be5b3feef0d93a2f8a888c7f3c82cb1ce4 /irc/py-irclib/Makefile | |
parent | bbd9cca0236052d84837588700d7ea346ecd852f (diff) | |
download | freebsd-ports-gnome-d1d527cc40a6fa58449d5a3051e812f19ffbe806.tar.gz freebsd-ports-gnome-d1d527cc40a6fa58449d5a3051e812f19ffbe806.tar.zst freebsd-ports-gnome-d1d527cc40a6fa58449d5a3051e812f19ffbe806.zip |
add py-irclib
IRC protocol client library for Python
PR: 26823
Submitted by: Chang Hye-Shik <perky@python.or.kr>
Diffstat (limited to 'irc/py-irclib/Makefile')
-rw-r--r-- | irc/py-irclib/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile new file mode 100644 index 000000000000..3d04d4bfa896 --- /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> |