diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-09-27 16:20:31 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-09-27 16:20:31 +0000 |
commit | 940f7ccf6d6c3670cfecd3ce18b6ff16dac65606 (patch) | |
tree | 7b5079e05c5715548a15a0ead5d40dab3f02f0cc /irc/py-irclib | |
parent | e8ee1c1f45190f61e92fda4250d0b943bcdbb435 (diff) | |
download | ports-940f7ccf6d6c3670cfecd3ce18b6ff16dac65606.tar.gz ports-940f7ccf6d6c3670cfecd3ce18b6ff16dac65606.zip |
Notes
Diffstat (limited to 'irc/py-irclib')
-rw-r--r-- | irc/py-irclib/Makefile | 16 | ||||
-rw-r--r-- | irc/py-irclib/distinfo | 2 | ||||
-rw-r--r-- | irc/py-irclib/pkg-plist | 3 |
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 |