2008-02-15 05:05:56 +00:00
|
|
|
# New ports collection makefile for: py-punjab
|
|
|
|
# Date created: 17 February 2006
|
|
|
|
# Whom: jodocus <jodocus@jodocus.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= punjab
|
2010-11-30 21:35:55 +00:00
|
|
|
PORTVERSION= 0.14
|
2008-02-15 05:05:56 +00:00
|
|
|
CATEGORIES= net-im python
|
2010-11-30 21:35:55 +00:00
|
|
|
MASTER_SITES= http://code.stanziq.com/punjab/releases/
|
2009-08-18 20:15:55 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2008-02-15 05:05:56 +00:00
|
|
|
|
2010-11-30 21:35:55 +00:00
|
|
|
MAINTAINER= ports@c0decafe.net
|
|
|
|
COMMENT= HTTP XMPP client interface
|
2008-02-15 05:05:56 +00:00
|
|
|
|
|
|
|
USE_PYTHON= 2.4+
|
2010-11-30 21:35:55 +00:00
|
|
|
USE_PYDISTUTILS=yes
|
2008-02-15 05:05:56 +00:00
|
|
|
USE_TWISTED= words web conch names
|
|
|
|
|
2010-11-30 21:35:55 +00:00
|
|
|
PORTDOCS= README.txt INSTALL.txt PKG-INFO
|
2008-02-15 05:05:56 +00:00
|
|
|
|
|
|
|
USE_RC_SUBR= punjab.sh
|
|
|
|
|
2010-11-30 21:35:55 +00:00
|
|
|
SUB_FILES= pkg-message punjab.tac
|
|
|
|
SUB_LIST+= "PYTHON_CMD=${PYTHON_CMD}"
|
2008-02-15 05:05:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL} -d ${WWWDIR}
|
2010-11-30 21:35:55 +00:00
|
|
|
@cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${WWWDIR}
|
|
|
|
@${INSTALL} ${WRKDIR}/punjab.tac ${PREFIX}/libexec/
|
2008-02-15 05:05:56 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${INSTALL} -d ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|