- Fix recent python conflict

PR:		ports/75437
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2004-12-29 22:58:29 +00:00
parent 3c63b2bc93
commit abf8724347
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125485
2 changed files with 11 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= kahakai
PORTVERSION= 0.6.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -49,5 +49,13 @@ BROKEN= "Does not compile on alpha 4.x"
post-patch:
@${REINPLACE_CMD} -e 's|/tmp/ktest|${X11BASE}|' \
${WRKSRC}/data/styles/Default.kastyle.in
@${REINPLACE_CMD} -e 's|bool max|bool wmax|' \
${WRKSRC}/src/Window.hh
@${REINPLACE_CMD} -e 's|flags.max|flags.wmax|g' \
${WRKSRC}/src/*.cc
pre-install:
@${REINPLACE_CMD} -e 's|^None|globals()["None"]|' \
${WRKSRC}/src/kahakai.py
.include <bsd.port.post.mk>

View file

@ -27,6 +27,8 @@ share/kahakai/scripts/events.pyc
share/kahakai/scripts/events.pyo
share/kahakai/scripts/filelist.pl
share/kahakai/scripts/kahakai.py
share/kahakai/scripts/kahakai.pyc
share/kahakai/scripts/kahakai.pyo
share/kahakai/scripts/macros.py
share/kahakai/scripts/macros.pyc
share/kahakai/scripts/macros.pyo