aboutsummaryrefslogtreecommitdiff
path: root/security/py-crack
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /security/py-crack
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
Notes
Diffstat (limited to 'security/py-crack')
-rw-r--r--security/py-crack/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/py-crack/Makefile b/security/py-crack/Makefile
index f8d3c1b0c206..e8772d7b821b 100644
--- a/security/py-crack/Makefile
+++ b/security/py-crack/Makefile
@@ -33,6 +33,10 @@ CONFIGURE_ENV= "CPPFLAGS=-I${LOCALBASE}/include" \
MAKE_ENV= "CPPFLAGS=-I${LOCALBASE}/include -fPIC" \
"LDFLAGS=-L${LOCALBASE}/lib"
+post-patch:
+ ${REINPLACE_CMD} -e 's/setup(/setup(name="${PORTNAME}",version="${PORTVERSION}",/' \
+ ${WRKSRC}/distutil.py
+
post-install:
${INSTALL_DATA} ${WRKSRC}/crack.py ${PYTHONPREFIX_SITELIBDIR}