diff options
author | wg <wg@FreeBSD.org> | 2013-12-27 03:21:50 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-12-27 03:21:50 +0800 |
commit | 1075eaeaf355e4d931c26dc8cc20b4df51eb27da (patch) | |
tree | 4241eb7b3e564457a45ceb812ba7bfbbcf4e3d2f /net-im/py-punjab | |
parent | 27d91b9deea43755944089043adee59d53962d54 (diff) | |
download | freebsd-ports-gnome-1075eaeaf355e4d931c26dc8cc20b4df51eb27da.tar.gz freebsd-ports-gnome-1075eaeaf355e4d931c26dc8cc20b4df51eb27da.tar.zst freebsd-ports-gnome-1075eaeaf355e4d931c26dc8cc20b4df51eb27da.zip |
net-im/py-punjab: support staging
Diffstat (limited to 'net-im/py-punjab')
-rw-r--r-- | net-im/py-punjab/Makefile | 23 | ||||
-rw-r--r-- | net-im/py-punjab/pkg-plist | 44 |
2 files changed, 9 insertions, 58 deletions
diff --git a/net-im/py-punjab/Makefile b/net-im/py-punjab/Makefile index 5076685d6a4c..a7944ca4e7de 100644 --- a/net-im/py-punjab/Makefile +++ b/net-im/py-punjab/Makefile @@ -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> diff --git a/net-im/py-punjab/pkg-plist b/net-im/py-punjab/pkg-plist index 479f13d47267..8d3850833729 100644 --- a/net-im/py-punjab/pkg-plist +++ b/net-im/py-punjab/pkg-plist @@ -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 |