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

PORTNAME=   spreadmodule
PORTVERSION=    1.4
CATEGORIES= net python
MASTER_SITES=   ${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR=other/spread
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   SpreadModule-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= joshua@roughtrade.net
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_REINPLACE=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes

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

.include <bsd.port.mk>