diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-27 15:14:15 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-27 15:14:15 +0000 |
commit | 6c2d100fde678ac760a18e4c90c592d345aad796 (patch) | |
tree | b5e56ab1330d53080bb649c710e384d80d83119f /irc | |
parent | c6d9b646156307a0c812c9d6b9f2b47bfba1b859 (diff) | |
download | ports-6c2d100fde678ac760a18e4c90c592d345aad796.tar.gz ports-6c2d100fde678ac760a18e4c90c592d345aad796.zip |
Update to 0.3.4
Change library install base from LOCALBASE to PREFIX
PR: 36370
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=56746
Diffstat (limited to 'irc')
-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 0daa7b01faa4..9421dca2f4ba 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 581acbff38a3..27af0ddc2d88 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 59df2ae365f6..c9bcf4598857 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%% |