From 589dda4a76c051a06f03f986ae2092a4d4fbe565 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 3 Feb 2009 22:59:19 +0000 Subject: - Fix python path in some bundled scripts PR: 130672 Submitted by: myself Approved by: Frank Altpeter (maintainer) --- net-im/centerim/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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} -- cgit