diff options
author | garga <garga@FreeBSD.org> | 2006-08-15 02:13:50 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-08-15 02:13:50 +0800 |
commit | ff7f7925d69ca37b87f31d63b6da9c4bbee89daf (patch) | |
tree | 8ce628ec581bd65d7828730afb99b145a4aef744 /net-im | |
parent | 67e9177b30af720180e9d05a7c7fe53ae3433d47 (diff) | |
download | freebsd-ports-gnome-ff7f7925d69ca37b87f31d63b6da9c4bbee89daf.tar.gz freebsd-ports-gnome-ff7f7925d69ca37b87f31d63b6da9c4bbee89daf.tar.zst freebsd-ports-gnome-ff7f7925d69ca37b87f31d63b6da9c4bbee89daf.zip |
- Remove command_interpret warnings on rc.d scripts
- Bump PORTREVISION
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabber-pyicq/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile index 21afa6208ba7..9b4a248dd319 100644 --- a/net-im/jabber-pyicq/Makefile +++ b/net-im/jabber-pyicq/Makefile @@ -6,6 +6,7 @@ PORTNAME= pyicq PORTVERSION= 0.7b +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://www.blathersource.org/download.php/pyicq-t/ PKGNAMEPREFIX= jabber- @@ -25,9 +26,10 @@ OPTIONS= EJABBERD "Use transport with ejabberd" off NO_BUILD= yes USE_PYTHON= yes USE_RC_SUBR= jabber-pyicq-transport.sh +LOCAL_PYTHON= ${PYTHON_CMD} SUB_FILES= pkg-message -SUB_LIST= PYTHON_CMD=${PYTHON_CMD} +SUB_LIST= PYTHON_CMD=${LOCAL_PYTHON} INST_DIR= ${PREFIX}/lib/jabber/${PORTNAME} @@ -49,9 +51,9 @@ 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' \ + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PYTHON_CMD%%|${LOCAL_PYTHON}|g' \ ${WRKSRC}/src/main.py - @${REINPLACE_CMD} -i "" 's|#!/usr/bin/env .*python.*$$|#!${PYTHON_CMD}|' \ + @${REINPLACE_CMD} -i "" 's|^#!.*$$|#!${LOCAL_PYTHON}|' \ ${WRKSRC}/PyICQt.py @${RM} ${WRKSRC}/src/main.py.* |