From owner-svn-ports-all@FreeBSD.ORG Tue Apr 23 15:53:15 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89E31233; Tue, 23 Apr 2013 15:53:15 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC661CE9; Tue, 23 Apr 2013 15:53:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NFrFjO085733; Tue, 23 Apr 2013 15:53:15 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3NFrE7k085729; Tue, 23 Apr 2013 15:53:14 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201304231553.r3NFrE7k085729@svn.freebsd.org> From: Antoine Brodin Date: Tue, 23 Apr 2013 15:53:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316366 - in head/sysutils: . py-pytsk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 15:53:15 -0000 Author: antoine Date: Tue Apr 23 15:53:14 2013 New Revision: 316366 URL: http://svnweb.freebsd.org/changeset/ports/316366 Log: New port: py-pytsk, python bindings for the sleuthkit WWW: https://code.google.com/p/pytsk/ Approved by: miwi (mentor) Added: head/sysutils/py-pytsk/ head/sysutils/py-pytsk/Makefile (contents, props changed) head/sysutils/py-pytsk/distinfo (contents, props changed) head/sysutils/py-pytsk/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Apr 23 15:40:16 2013 (r316365) +++ head/sysutils/Makefile Tue Apr 23 15:53:14 2013 (r316366) @@ -737,6 +737,7 @@ SUBDIR += py-iowait SUBDIR += py-nagiosplugin SUBDIR += py-psutil + SUBDIR += py-pytsk SUBDIR += py-ranger SUBDIR += py-salt SUBDIR += py-salt-api Added: head/sysutils/py-pytsk/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-pytsk/Makefile Tue Apr 23 15:53:14 2013 (r316366) @@ -0,0 +1,52 @@ +# Created by: Antoine Brodin +# $FreeBSD$ + +PORTNAME= pytsk +DISTVERSION= 2012-11-10 +CATEGORIES= sysutils security devel python +MASTER_SITES= GOOGLE_CODE +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Python bindings for the Sleuthkit + +LICENSE= AL2 + +LIB_DEPENDS= tsk3:${PORTSDIR}/sysutils/sleuthkit + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_PYTHON= -2.7 +USE_PYDISTUTILS=yes +PYDISTUTILS_PKGNAME=pytsk3 +PYDISTUTILS_PKGVERSION=0.1 + +post-patch: + ${REINPLACE_CMD} -e '/socket\.h/ { h; s|socket|types|; G; }' ${WRKSRC}/misc.h + ${REINPLACE_CMD} -e 's|/usr/include/tsk3/|${LOCALBASE}/include/tsk3/|' \ + -e "s|LIBRARY_DIRS = \[\]|LIBRARY_DIRS = ['${LOCALBASE}/lib/']|" \ + -e "s|= \[CONFIG\['TSK3_HEADER_LOCATION'\]\]|= ['${LOCALBASE}/include/']|" \ + ${WRKSRC}/setup.py + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= LICENSE README + +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= * + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/pytsk3.so + +.include + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/*.py ${EXAMPLESDIR} +.endif + +.include Added: head/sysutils/py-pytsk/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-pytsk/distinfo Tue Apr 23 15:53:14 2013 (r316366) @@ -0,0 +1,2 @@ +SHA256 (pytsk-2012-11-10.tgz) = 6135a25b83032bdab699c6cf329eff2eb27eab09b57f8f7a89bf9974b279661c +SIZE (pytsk-2012-11-10.tgz) = 69401 Added: head/sysutils/py-pytsk/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-pytsk/pkg-descr Tue Apr 23 15:53:14 2013 (r316366) @@ -0,0 +1,3 @@ +Python bindings for the Sleuthkit + +WWW: http://code.google.com/p/pytsk/