aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-01 12:34:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-01 12:34:27 +0000
commitfe9f6eb82fc71820ac1221a5a11694107a4878be (patch)
tree6ddc9d161ccb400dc91550fd14a4b1509988ecf0
parente904edb7768b9050e03b048909bb6222002f6e71 (diff)
downloadports-fe9f6eb82fc71820ac1221a5a11694107a4878be.tar.gz
ports-fe9f6eb82fc71820ac1221a5a11694107a4878be.zip
Notes
-rw-r--r--math/py-gmpy/Makefile7
-rw-r--r--math/py-gmpy/distinfo6
2 files changed, 8 insertions, 5 deletions
diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile
index 0aad06af82e9..4290d846339b 100644
--- a/math/py-gmpy/Makefile
+++ b/math/py-gmpy/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gmpy
-PORTVERSION= 1.03
-PORTREVISION= 1
+PORTVERSION= 1.04
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,4 +22,8 @@ USE_PYDISTUTILS= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/gmpy.so
+post-extract:
+ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
+ ${WRKSRC}/setup.py
+
.include <bsd.port.mk>
diff --git a/math/py-gmpy/distinfo b/math/py-gmpy/distinfo
index 73a82f107117..38e2ff2f7055 100644
--- a/math/py-gmpy/distinfo
+++ b/math/py-gmpy/distinfo
@@ -1,3 +1,3 @@
-MD5 (gmpy-1.03.zip) = 7e723068ecd7078b32f344c747586592
-SHA256 (gmpy-1.03.zip) = dfb02ffd2356aee74c756ac8e235bcaa89e3e0e5199f9fd4b9dfda54c7ff71c7
-SIZE (gmpy-1.03.zip) = 86711
+MD5 (gmpy-1.04.zip) = 69e899391f0a83e2e82faf7a1a8873e8
+SHA256 (gmpy-1.04.zip) = c5f6d85891f04c77fc14070250ffc9ee2e12af41d5f176d4f0888897856f65e9
+SIZE (gmpy-1.04.zip) = 234390