diff options
author | pav <pav@FreeBSD.org> | 2005-07-18 18:59:33 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-18 18:59:33 +0000 |
commit | 5ea8de73ef0f976937ad4a0f72391cfa2803f4ea (patch) | |
tree | 247eb5d12d30f9514f1ff5299c2723f3c3cb2ae6 /security/py-mhash | |
parent | 59a60d38c5e8e0ed203e3e4a88e509715e3efa0a (diff) | |
download | FreeBSD-ports-5ea8de73ef0f976937ad4a0f72391cfa2803f4ea.zip FreeBSD-ports-5ea8de73ef0f976937ad4a0f72391cfa2803f4ea.tar.gz |
- Update to 1.4
PR: ports/83654
Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Diffstat (limited to 'security/py-mhash')
-rw-r--r-- | security/py-mhash/Makefile | 15 | ||||
-rw-r--r-- | security/py-mhash/distinfo | 4 |
2 files changed, 8 insertions, 11 deletions
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile index e086996..ff58dc8 100644 --- a/security/py-mhash/Makefile +++ b/security/py-mhash/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mhash -PORTVERSION= 1.0 +PORTVERSION= 1.4 CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mhash @@ -19,17 +19,14 @@ COMMENT= Python mhash module LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash -PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/mhash.so +PLIST_FILES= %%PYTHON_SITELIBDIR%%/mhash.so USE_PYTHON= yes USE_PYDISTUTILS=yes -USE_REINPLACE= yes -PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib -CFLAGS+= -I${LOCALBASE}/include -pre-patch: - ${REINPLACE_CMD} -e '227s,$$,\\,' ${WRKSRC}/mhash.c # put a missed terminating quote +CFLAGS+= -I${LOCALBASE}/include +MAKE_ENV= "LDFLAGS=-L${LOCALBASE}/lib" -do-build: - @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS}) +test: install + ${PYTHON_CMD} ${WRKSRC}/test.py .include <bsd.port.mk> diff --git a/security/py-mhash/distinfo b/security/py-mhash/distinfo index bbb11f3..1fb54e7 100644 --- a/security/py-mhash/distinfo +++ b/security/py-mhash/distinfo @@ -1,2 +1,2 @@ -MD5 (python-mhash-1.0.tar.gz) = 7af6c11ca2f6451c5e529e5ff366446c -SIZE (python-mhash-1.0.tar.gz) = 15183 +MD5 (python-mhash-1.4.tar.gz) = b3536ef3474a6459b5f03dee69ab97b6 +SIZE (python-mhash-1.4.tar.gz) = 17309 |