View | Details | Raw Unified | Return to bug 45179
Collapse All | Expand All

(-)Makefile (-3 / +4 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	spreadmodule
8
PORTNAME=	spreadmodule
9
PORTVERSION=	1.2
9
PORTVERSION=	1.3
10
CATEGORIES=	net python
10
CATEGORIES=	net python
11
MASTER_SITES=	http://www.python.org/other/spread/
11
MASTER_SITES=	http://www.python.org/other/spread/
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 15-26 Link Here
15
15
16
MAINTAINER=	joshua@roughtrade.net
16
MAINTAINER=	joshua@roughtrade.net
17
17
18
BUILD_DEPENDS=	${LOCALBASE}/lib/libsp.a:${PORTSDIR}/net/spread
18
LIB_DEPENDS=	spread.1:${PORTSDIR}/net/spread
19
19
20
USE_REINPLACE=	yes
20
USE_PYTHON=	yes
21
USE_PYTHON=	yes
21
USE_PYDISTUTILS=yes
22
USE_PYDISTUTILS=yes
22
23
23
post-patch:
24
post-patch:
24
	@${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.py
25
	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.py
25
26
26
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (SpreadModule-1.2.tgz) = dec9b45f8e3891f9afc5939932be59ac
1
MD5 (SpreadModule-1.3.tgz) = c43e484f46cdd9aeac4942bdcf320c44
(-)files/patch-setup.py (+11 lines)
Added Link Here
1
--- setup.py	10 Sep 2002 13:13:11 -0000	1.1.1.1
2
+++ setup.py	10 Sep 2002 13:14:03 -0000	1.2
3
@@ -21,7 +21,7 @@
4
     ext = Extension('spread', ['spreadmodule.c'],
5
                 include_dirs = [SPREAD_DIR + "/include"],
6
                 library_dirs = [SPREAD_DIR + "/lib"],
7
-                libraries = ['tsp'],
8
+                libraries = ['tspread'],
9
                 )
10
 
11
 setup(name = "Spread API for Python",

Return to bug 45179