diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-03-27 15:14:15 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-03-27 15:14:15 +0000 |
commit | 7d4ab319875f23302a4c799a969d14bd3cad6b2f (patch) | |
tree | c55321700055b1c9374dd3827302cfe1b2b8fcd9 | |
parent | 2c211eb7ff57cec094d6053e6fa69cd240a15aac (diff) | |
download | FreeBSD-ports-7d4ab319875f23302a4c799a969d14bd3cad6b2f.zip FreeBSD-ports-7d4ab319875f23302a4c799a969d14bd3cad6b2f.tar.gz |
Update to 0.3.4
Change library install base from LOCALBASE to PREFIX
PR: 36370
Submitted by: maintainer
-rw-r--r-- | irc/py-irclib/Makefile | 8 | ||||
-rw-r--r-- | irc/py-irclib/distinfo | 2 | ||||
-rw-r--r-- | irc/py-irclib/pkg-plist | 13 |
3 files changed, 12 insertions, 11 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile index 0daa7b0..9421dca 100644 --- a/irc/py-irclib/Makefile +++ b/irc/py-irclib/Makefile @@ -6,7 +6,7 @@ # PORTNAME= irclib -PORTVERSION= 0.3.3 +PORTVERSION= 0.3.4 CATEGORIES= irc python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= python-irclib @@ -17,7 +17,7 @@ MAINTAINER= perky@fallin.lv USE_PYTHON= yes -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} \ +PLIST_SUB+= PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages \ EXAMPLESDIR=${EXAMPLESDIR:S,^${PREFIX}/,,g} EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py @@ -26,10 +26,12 @@ do-build: @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} do-install: - @${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PYTHON_SITELIBDIR}/ + @${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/ +.if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} .for file in ${EXAMPLEFILES} @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${EXAMPLESDIR}/ .endfor +.endif .include <bsd.port.mk> diff --git a/irc/py-irclib/distinfo b/irc/py-irclib/distinfo index 581acbf..27af0dd 100644 --- a/irc/py-irclib/distinfo +++ b/irc/py-irclib/distinfo @@ -1 +1 @@ -MD5 (python-irclib-0.3.3.tar.gz) = 5704e2115d1567783ab84ee5c57d93d0 +MD5 (python-irclib-0.3.4.tar.gz) = 132530c4133950c897d15c2c93aff132 diff --git a/irc/py-irclib/pkg-plist b/irc/py-irclib/pkg-plist index 59df2ae..c9bcf45 100644 --- a/irc/py-irclib/pkg-plist +++ b/irc/py-irclib/pkg-plist @@ -1,10 +1,9 @@ -%%EXAMPLESDIR%%/ircbot.py -%%EXAMPLESDIR%%/irccat -%%EXAMPLESDIR%%/irccat2 -%%EXAMPLESDIR%%/servermap -%%EXAMPLESDIR%%/testbot.py -@dirrm %%EXAMPLESDIR%% -@cwd %%LOCALBASE%% %%PYTHON_SITELIBDIR%%/irclib.py %%PYTHON_SITELIBDIR%%/irclib.pyc %%PYTHON_SITELIBDIR%%/irclib.pyo +%%PORTDOCS%%%%EXAMPLESDIR%%/ircbot.py +%%PORTDOCS%%%%EXAMPLESDIR%%/irccat +%%PORTDOCS%%%%EXAMPLESDIR%%/irccat2 +%%PORTDOCS%%%%EXAMPLESDIR%%/servermap +%%PORTDOCS%%%%EXAMPLESDIR%%/testbot.py +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |