aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-02-04 06:59:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-02-04 06:59:19 +0800
commit589dda4a76c051a06f03f986ae2092a4d4fbe565 (patch)
treefe4e7811375618a52f1b813cece46e1a6019d625
parent3dc547b64870e138d28ca793ea802411fa12b518 (diff)
downloadfreebsd-ports-gnome-589dda4a76c051a06f03f986ae2092a4d4fbe565.tar.gz
freebsd-ports-gnome-589dda4a76c051a06f03f986ae2092a4d4fbe565.tar.zst
freebsd-ports-gnome-589dda4a76c051a06f03f986ae2092a4d4fbe565.zip
- Fix python path in some bundled scripts
PR: 130672 Submitted by: myself Approved by: Frank Altpeter <frank at altpeter dot de> (maintainer)
-rw-r--r--net-im/centerim/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile
index b9bdedd3efac..4eab38c104e8 100644
--- a/net-im/centerim/Makefile
+++ b/net-im/centerim/Makefile
@@ -8,7 +8,7 @@
PORTNAME= centerim
PORTVERSION= 4.22.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://www.centerim.org/download/releases/ \
ftp://ftp.centerim.org/releases/
@@ -108,6 +108,10 @@ LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
LIBGADU= -lgadu
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
+ ${WRKSRC}/misc/CenterIMLog2HTML.py
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}