aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-11-25 22:09:51 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-11-25 22:09:51 +0000
commitd86e43e7c86cca0ad2726f05d6d07b48435b8731 (patch)
treeb4649a40e48b963876e94a679d596e199a5c9925 /sysutils
parentdbaeeeeb71a1d88c4337bb9f1803ad654e570256 (diff)
downloadports-d86e43e7c86cca0ad2726f05d6d07b48435b8731.tar.gz
ports-d86e43e7c86cca0ad2726f05d6d07b48435b8731.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-pytsk/Makefile14
-rw-r--r--sysutils/py-pytsk/distinfo4
2 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/py-pytsk/Makefile b/sysutils/py-pytsk/Makefile
index 9b848eb9db84..0ed466de19c5 100644
--- a/sysutils/py-pytsk/Makefile
+++ b/sysutils/py-pytsk/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pytsk
-DISTVERSION= 2013-09-10
-PORTREVISION= 1
+DISTVERSION= 2013-11-24
CATEGORIES= sysutils security devel python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,16 +17,17 @@ LIB_DEPENDS= libtsk.so:${PORTSDIR}/sysutils/sleuthkit
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= shebangfix
+SHEBANG_FILES= samples/*.py
+python_OLD_CMD= .*
+python_CMD= ${PYTHON_CMD}
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=pytsk3
-PYDISTUTILS_PKGVERSION=0.1
+PYDISTUTILS_PKGVERSION=4.1.2
post-patch:
- ${REINPLACE_CMD} -e '/socket\.h/ { h; s|socket|types|; G; }' ${WRKSRC}/misc.h
- ${REINPLACE_CMD} -e 's|/usr/local/include/tsk/|${LOCALBASE}/include/tsk/|' \
- -e "s|LIBRARY_DIRS = \[\]|LIBRARY_DIRS = ['${LOCALBASE}/lib']|" \
- -e "s|= \[CONFIG\['TSK_HEADERS_LOCATION'\]\]|= ['${LOCALBASE}/include']|" \
+ ${REINPLACE_CMD} -e "s|'/', 'usr', 'local'|'${LOCALBASE}'|" \
${WRKSRC}/setup.py
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
diff --git a/sysutils/py-pytsk/distinfo b/sysutils/py-pytsk/distinfo
index 1a1b64d8f1e2..388523a3af5c 100644
--- a/sysutils/py-pytsk/distinfo
+++ b/sysutils/py-pytsk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pytsk-2013-09-10.tgz) = 2ce6cc73c600c2c2511ff9047e22f10281431d97e3bf2cee1967c14d2b3cb24a
-SIZE (pytsk-2013-09-10.tgz) = 66094
+SHA256 (pytsk-2013-11-24.tgz) = a61be70df8d10cf029e02d56067389c0a42b4ee91c1172d171196603510cf965
+SIZE (pytsk-2013-11-24.tgz) = 85316