aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-spreadmodule/Makefile
blob: a7382dae556e4ec7b0e4d3ca492b1f801529c0f3 (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
# New ports collection makefile for:    py-spreadmodule
# Date created:     24 May 2002
# Whom:         Joshua Goodall <joshua@roughtrade.net>
#
# $FreeBSD$
#

PORTNAME=   spreadmodule
PORTVERSION=    1.5
CATEGORIES= net python
MASTER_SITES=   http://www.zope.org/Members/tim_one/spread/SpreadModule-1.5/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   SpreadModule-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= wenheping@gmail.com
COMMENT=    A python extension module for the Spread group communcations package

LIB_DEPENDS=    spread.1:${PORTSDIR}/net/spread

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/spread.so
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    SpreadModule

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.py

.include <bsd.port.mk>