1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

net-im/py-punjab: support staging

This commit is contained in:
William Grzybowski 2013-12-26 19:21:50 +00:00
parent 11ae039d01
commit 9cadd97e3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337601
2 changed files with 9 additions and 58 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= punjab
PORTVERSION= 0.14
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-im python
MASTER_SITES= http://code.stanziq.com/punjab/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,8 +11,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP XMPP client interface
USE_PYTHON= 2.5+
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
USES= twisted:words,web,conch,names
PORTDOCS= README.txt INSTALL.txt PKG-INFO
@ -22,18 +23,12 @@ USE_RC_SUBR= punjab
SUB_FILES= pkg-message punjab.tac
SUB_LIST+= "PYTHON_CMD=${PYTHON_CMD}"
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
@${INSTALL} -d ${WWWDIR}
@cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${WWWDIR}
@${INSTALL} ${WRKDIR}/punjab.tac ${PREFIX}/libexec/
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
${INSTALL} ${WRKDIR}/punjab.tac ${STAGEDIR}${PREFIX}/libexec/
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,47 +1,3 @@
@comment $FreeBSD$
%%PYTHON_SITELIBDIR%%/punjab/jabber.py
%%PYTHON_SITELIBDIR%%/punjab/stream.py
%%PYTHON_SITELIBDIR%%/punjab/httpb.py
%%PYTHON_SITELIBDIR%%/punjab/tap.py
%%PYTHON_SITELIBDIR%%/punjab/__init__.py
%%PYTHON_SITELIBDIR%%/punjab/error.py
%%PYTHON_SITELIBDIR%%/punjab/session.py
%%PYTHON_SITELIBDIR%%/punjab/httpb_client.py
%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.py
%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.py
%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.py
%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.py
%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyc
%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyc
%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyc
%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyc
%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyo
%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyo
%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyo
%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyo
%%PYTHON_SITELIBDIR%%/punjab/jabber.pyc
%%PYTHON_SITELIBDIR%%/punjab/stream.pyc
%%PYTHON_SITELIBDIR%%/punjab/httpb.pyc
%%PYTHON_SITELIBDIR%%/punjab/tap.pyc
%%PYTHON_SITELIBDIR%%/punjab/__init__.pyc
%%PYTHON_SITELIBDIR%%/punjab/error.pyc
%%PYTHON_SITELIBDIR%%/punjab/session.pyc
%%PYTHON_SITELIBDIR%%/punjab/httpb_client.pyc
%%PYTHON_SITELIBDIR%%/punjab/jabber.pyo
%%PYTHON_SITELIBDIR%%/punjab/stream.pyo
%%PYTHON_SITELIBDIR%%/punjab/httpb.pyo
%%PYTHON_SITELIBDIR%%/punjab/tap.pyo
%%PYTHON_SITELIBDIR%%/punjab/__init__.pyo
%%PYTHON_SITELIBDIR%%/punjab/error.pyo
%%PYTHON_SITELIBDIR%%/punjab/session.pyo
%%PYTHON_SITELIBDIR%%/punjab/httpb_client.pyo
%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.py
%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyc
%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyo
@dirrmtry %%PYTHON_SITELIBDIR%%/twisted/plugins
@dirrmtry %%PYTHON_SITELIBDIR%%/twisted
@dirrmtry %%PYTHON_SITELIBDIR%%/punjab/xmpp
@dirrmtry %%PYTHON_SITELIBDIR%%/punjab
libexec/punjab.tac
%%WWWDIR%%/favicon.ico
%%WWWDIR%%/crossdomain.xml