mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
o Current released version 1.0.1 does not work well with python
2.4. Therefore, make sure the port will use a version of python which will work with it, namely python 2.3 o Bump PORTREVISION PR: 75472 Reviewed by: Torfinn Ingolfsen <tingo@start.no> Approved by: portmgr (marcus)
This commit is contained in:
parent
f064b916e5
commit
62ed0aff9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125706
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= spambayes
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -18,9 +19,11 @@ COMMENT= A Bayesian anti-spam filter written in Python
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYTHON= 2.3
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PORTDOCS= CHANGELOG.txt \
|
||||
LICENSE.txt \
|
||||
NEWTRICKS.txt \
|
||||
@ -35,6 +38,12 @@ PORTDOCS= CHANGELOG.txt \
|
||||
post-extract:
|
||||
@${CHMOD} -Rf u+w ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f | \
|
||||
${XARGS} -n 10 -x \
|
||||
${REINPLACE_CMD} -E \
|
||||
-e 's|/usr/bin/env python|${PYTHONBASE}/bin/${PYTHON_VERSION}|'
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user