aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/py-punjab/Makefile
blob: e0f404e5aca3615556da66c407f5c51bd869c08e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: jodocus <jodocus@jodocus.org>
# $FreeBSD$

PORTNAME=   punjab
PORTVERSION=    0.14
PORTREVISION=   2
CATEGORIES= net-im python
MASTER_SITES=   http://code.stanziq.com/punjab/releases/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    HTTP XMPP client interface

USE_PYTHON= distutils autoplist
USES=       python twisted:words,web,conch,names

PORTDOCS=   README.txt INSTALL.txt PKG-INFO

USE_RC_SUBR=    punjab

SUB_FILES=  pkg-message punjab.tac
SUB_LIST+=  "PYTHON_CMD=${PYTHON_CMD}"

post-install:
    @${MKDIR} ${STAGEDIR}${WWWDIR}
    @cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
    ${INSTALL} ${WRKDIR}/punjab.tac ${STAGEDIR}${PREFIX}/libexec/

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>