mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
net-im/py-xmpppy-yahoo: support stage
This commit is contained in:
parent
e77bb46744
commit
1832654488
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364097
@ -10,7 +10,7 @@ MASTER_SITE_SUBDIR=lofi
|
|||||||
PKGNAMEPREFIX= xmpppy-
|
PKGNAMEPREFIX= xmpppy-
|
||||||
DISTNAME= yahoo-transport-${PORTVERSION}
|
DISTNAME= yahoo-transport-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Yahoo! transport for Jabber
|
COMMENT= Yahoo! transport for Jabber
|
||||||
|
|
||||||
OPTIONS_DEFINE= EJABBERD
|
OPTIONS_DEFINE= EJABBERD
|
||||||
@ -34,7 +34,6 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} BINDIR=${PYTHON_SITELIBDIR}/xmpp/yahoo \
|
|||||||
USE_RC_SUBR= ${UNIQUENAME:S/-/_/}
|
USE_RC_SUBR= ${UNIQUENAME:S/-/_/}
|
||||||
DDIR= ${PYTHON_SITELIBDIR}/xmpp/yahoo
|
DDIR= ${PYTHON_SITELIBDIR}/xmpp/yahoo
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MEJABBERD}
|
.if ${PORT_OPTIONS:MEJABBERD}
|
||||||
@ -58,25 +57,14 @@ post-patch:
|
|||||||
${WRKSRC}/config_example.xml
|
${WRKSRC}/config_example.xml
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${INSTALL} -d ${DDIR}
|
@${INSTALL} -d ${STAGEDIR}${DDIR}
|
||||||
@${INSTALL_DATA} ${FILES:S.^.${WRKSRC}/.} ${DDIR}/
|
${INSTALL_DATA} ${FILES:S.^.${WRKSRC}/.} ${STAGEDIR}${DDIR}/
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/yahoo.py ${DDIR}/
|
${INSTALL_SCRIPT} ${WRKSRC}/yahoo.py ${STAGEDIR}${DDIR}/
|
||||||
@${MKDIR} ${DDIR}/curphoo
|
@${MKDIR} ${STAGEDIR}${DDIR}/curphoo
|
||||||
@${INSTALL_DATA} ${FILES_CURPHOO:S.^.${WRKSRC}/curphoo/.} ${DDIR}/curphoo/
|
${INSTALL_DATA} ${FILES_CURPHOO:S.^.${WRKSRC}/curphoo/.} ${STAGEDIR}${DDIR}/curphoo/
|
||||||
@${INSTALL_DATA} ${WRKSRC}/config_example.xml ${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/config_example.xml ${STAGEDIR}${PREFIX}/etc/${UNIQUENAME:S.-._.}.conf.sample
|
||||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DDIR}
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
|
||||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DDIR}
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${DDIR} ${STAGEDIR}${DDIR}
|
||||||
@${CHMOD} -R a-w ${DDIR}
|
@${CHMOD} -R a-w ${STAGEDIR}${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}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user