aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-09-28 00:20:31 +0800
committerperky <perky@FreeBSD.org>2003-09-28 00:20:31 +0800
commitd7e9c9fb1dddcc9c8616b58cdd15cd3761e1ccda (patch)
treefecfadaa6bcaa9b341fe20ad1063667932113cba /irc
parentc34c521a88499623817e36b5114a7dfb6d5a4561 (diff)
downloadfreebsd-ports-gnome-d7e9c9fb1dddcc9c8616b58cdd15cd3761e1ccda.tar.gz
freebsd-ports-gnome-d7e9c9fb1dddcc9c8616b58cdd15cd3761e1ccda.tar.zst
freebsd-ports-gnome-d7e9c9fb1dddcc9c8616b58cdd15cd3761e1ccda.zip
Update to 0.4.0
Diffstat (limited to 'irc')
-rw-r--r--irc/py-irclib/Makefile16
-rw-r--r--irc/py-irclib/distinfo2
-rw-r--r--irc/py-irclib/pkg-plist3
3 files changed, 8 insertions, 13 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile
index 83de9f447104..1f12d5ff6ec3 100644
--- a/irc/py-irclib/Makefile
+++ b/irc/py-irclib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= irclib
-PORTVERSION= 0.3.4
+PORTVERSION= 0.4.0
CATEGORIES= irc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-irclib
@@ -17,17 +17,11 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= IRC protocol client library for Python
USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+EXAMPLEFILES= irccat irccat2 servermap testbot.py \
+ dccreceive dccsend
-PLIST_SUB+= PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages \
- EXAMPLESDIR=${EXAMPLESDIR:S,^${PREFIX}/,,g}
-EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py
-
-do-build:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
-
-do-install:
- @${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
.for file in ${EXAMPLEFILES}
diff --git a/irc/py-irclib/distinfo b/irc/py-irclib/distinfo
index 27af0ddc2d88..bb206d2b08cf 100644
--- a/irc/py-irclib/distinfo
+++ b/irc/py-irclib/distinfo
@@ -1 +1 @@
-MD5 (python-irclib-0.3.4.tar.gz) = 132530c4133950c897d15c2c93aff132
+MD5 (python-irclib-0.4.0.tar.gz) = a880f780026c255a49129e2e4c94d884
diff --git a/irc/py-irclib/pkg-plist b/irc/py-irclib/pkg-plist
index c9bcf4598857..352494ee8ab6 100644
--- a/irc/py-irclib/pkg-plist
+++ b/irc/py-irclib/pkg-plist
@@ -1,7 +1,8 @@
%%PYTHON_SITELIBDIR%%/irclib.py
%%PYTHON_SITELIBDIR%%/irclib.pyc
%%PYTHON_SITELIBDIR%%/irclib.pyo
-%%PORTDOCS%%%%EXAMPLESDIR%%/ircbot.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dccreceive
+%%PORTDOCS%%%%EXAMPLESDIR%%/dccsend
%%PORTDOCS%%%%EXAMPLESDIR%%/irccat
%%PORTDOCS%%%%EXAMPLESDIR%%/irccat2
%%PORTDOCS%%%%EXAMPLESDIR%%/servermap