4376dbbb58
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
40 lines
893 B
Makefile
40 lines
893 B
Makefile
# Created by: jodocus <jodocus@jodocus.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= punjab
|
|
PORTVERSION= 0.15
|
|
CATEGORIES= net-im python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= HTTP XMPP client interface
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
USE_RC_SUBR= punjab
|
|
|
|
SUB_FILES= pkg-message punjab.tac
|
|
SUB_LIST= PYTHON_CMD="${PYTHON_CMD}"
|
|
|
|
PORTDOCS= README.txt INSTALL.txt PKG-INFO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
(cd ${WRKDIR} && ${INSTALL_DATA} punjab.tac \
|
|
${STAGEDIR}${PREFIX}/libexec)
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
@(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . \
|
|
${STAGEDIR}${WWWDIR})
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|