aboutsummaryrefslogtreecommitdiff
path: root/net-im/py-xmpppy-yahoo
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-05 13:19:11 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-05 13:19:11 +0000
commit1832654488cf4196352f49d9b492e0b88bbff513 (patch)
tree0bbbac7c28199c108e734a0c7daf76c12565769d /net-im/py-xmpppy-yahoo
parente77bb46744432316efc96c46e956d9ca6943d38b (diff)
downloadports-1832654488cf4196352f49d9b492e0b88bbff513.tar.gz
ports-1832654488cf4196352f49d9b492e0b88bbff513.zip
Notes
Diffstat (limited to 'net-im/py-xmpppy-yahoo')
-rw-r--r--net-im/py-xmpppy-yahoo/Makefile32
1 files changed, 10 insertions, 22 deletions
diff --git a/net-im/py-xmpppy-yahoo/Makefile b/net-im/py-xmpppy-yahoo/Makefile
index 6f198045c354..904688a6ed0f 100644
--- a/net-im/py-xmpppy-yahoo/Makefile
+++ b/net-im/py-xmpppy-yahoo/Makefile
@@ -10,7 +10,7 @@ MASTER_SITE_SUBDIR=lofi
PKGNAMEPREFIX= xmpppy-
DISTNAME= yahoo-transport-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Yahoo! transport for Jabber
OPTIONS_DEFINE= EJABBERD
@@ -34,7 +34,6 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} BINDIR=${PYTHON_SITELIBDIR}/xmpp/yahoo \
USE_RC_SUBR= ${UNIQUENAME:S/-/_/}
DDIR= ${PYTHON_SITELIBDIR}/xmpp/yahoo
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEJABBERD}
@@ -58,25 +57,14 @@ post-patch:
${WRKSRC}/config_example.xml
do-install:
- @${INSTALL} -d ${DDIR}
- @${INSTALL_DATA} ${FILES:S.^.${WRKSRC}/.} ${DDIR}/
- @${INSTALL_SCRIPT} ${WRKSRC}/yahoo.py ${DDIR}/
- @${MKDIR} ${DDIR}/curphoo
- @${INSTALL_DATA} ${FILES_CURPHOO:S.^.${WRKSRC}/curphoo/.} ${DDIR}/curphoo/
- @${INSTALL_DATA} ${WRKSRC}/config_example.xml ${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DDIR}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DDIR}
- @${CHMOD} -R a-w ${DDIR}
-
-post-install:
- @${ECHO_CMD}
- @${ECHO_CMD} "****************************************************"
- @${ECHO_CMD} "A sample configuration file has been installed in"
- @${ECHO_CMD} "${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample"
- @${ECHO_CMD}
- @${ECHO_CMD} "Follow the setup instructions at"
- @${ECHO_CMD} "http://wiki.blathersource.org/wiki/index.php/PyYIMt."
- @${ECHO_CMD} "****************************************************"
- @${ECHO_CMD}
+ @${INSTALL} -d ${STAGEDIR}${DDIR}
+ ${INSTALL_DATA} ${FILES:S.^.${WRKSRC}/.} ${STAGEDIR}${DDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/yahoo.py ${STAGEDIR}${DDIR}/
+ @${MKDIR} ${STAGEDIR}${DDIR}/curphoo
+ ${INSTALL_DATA} ${FILES_CURPHOO:S.^.${WRKSRC}/curphoo/.} ${STAGEDIR}${DDIR}/curphoo/
+ ${INSTALL_DATA} ${WRKSRC}/config_example.xml ${STAGEDIR}${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
+ @${CHMOD} -R a-w ${STAGEDIR}${DDIR}
.include <bsd.port.mk>