mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Update to 0.3.4
Change library install base from LOCALBASE to PREFIX PR: 36370 Submitted by: maintainer
This commit is contained in:
parent
c6d9b64615
commit
6c2d100fde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56746
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (python-irclib-0.3.3.tar.gz) = 5704e2115d1567783ab84ee5c57d93d0
|
||||
MD5 (python-irclib-0.3.4.tar.gz) = 132530c4133950c897d15c2c93aff132
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user