aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-05-06 01:44:34 +0800
committergarga <garga@FreeBSD.org>2006-05-06 01:44:34 +0800
commita70684ad0505dc61388934e5c8fcf8e325e8b574 (patch)
tree6560f3c153a4b5f8a70cd226a3a002c9c99b8597 /net-im
parentfcad26710ec286c27c9666ec3a3df982697073fa (diff)
downloadfreebsd-ports-gnome-a70684ad0505dc61388934e5c8fcf8e325e8b574.tar.gz
freebsd-ports-gnome-a70684ad0505dc61388934e5c8fcf8e325e8b574.tar.zst
freebsd-ports-gnome-a70684ad0505dc61388934e5c8fcf8e325e8b574.zip
- Fix REINPLACE_CMD to change #! interpreter on PyICQt.py. It fixes rc.d
startup script. - Remove no more needed post-extract: target
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-pyicq/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile
index ea2c8785bfa0..31a7c1987e2c 100644
--- a/net-im/jabber-pyicq/Makefile
+++ b/net-im/jabber-pyicq/Makefile
@@ -6,7 +6,7 @@
PORTNAME= pyicq
PORTVERSION= 0.7a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://www.blathersource.org/download.php/pyicq-t/
PKGNAMEPREFIX= jabber-
@@ -46,16 +46,13 @@ SUB_LIST+= JABBER_REQUIRE=jabberd
SUB_LIST+= JABBER_USER=${JABBER_USER}
-post-extract:
- @${FIND} ${WRKSRC}/src -type d -name '.svn' | ${XARGS} ${RM} -rf
-
post-patch:
@${REINPLACE_CMD} -e '/spooldir/s|\.|/var/spool/jabber|' \
-e '/pid/s|PyICQt.pid|/var/jabberd/pid/PyICQt.pid|' \
${WRKSRC}/config_example.xml
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PYTHON_CMD%%|${PYTHON_CMD}|g' \
${WRKSRC}/src/main.py
- @${REINPLACE_CMD} -i "" 's|#!/usr/bin/python|#!${PYTHON_CMD}|' \
+ @${REINPLACE_CMD} -i "" 's|#!/usr/bin/env .*python.*$$|#!${PYTHON_CMD}|' \
${WRKSRC}/PyICQt.py
@${RM} ${WRKSRC}/src/main.py.*