Skip to content

Commit

Permalink
Untested
Browse files Browse the repository at this point in the history
  • Loading branch information
ant1 committed Oct 19, 2013
1 parent 8028c6a commit 9ed4e15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions py-python-evtx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# $FreeBSD$

PORTNAME= python-evtx
PORTVERSION= 0.2.1
PORTVERSION= 0.3.1
CATEGORIES= security devel python
MASTER_SITES= GH \
LOCAL/antoine
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= [email protected]
Expand All @@ -14,11 +16,10 @@ LICENSE= AL2
USE_GITHUB= yes
GH_ACCOUNT= williballenthin
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= ffbf28e
GH_COMMIT= 2b97595

USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_PKGVERSION=0.2

OPTIONS_DEFINE= DOCS EXAMPLES

Expand All @@ -31,14 +32,17 @@ PORTEXAMPLES= *
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

post-patch:
${REINPLACE_CMD} -e 's|/bin/python|${PYTHON_CMD}|' ${WRKSRC}/scripts/*.py
${REINPLACE_CMD} -e 's|0\.3\.0|${PORTVERSION}|' ${WRKSRC}/Evtx/__init__.py
${REINPLACE_CMD} -e '1s|#!.*|#!${PYTHON_CMD}|' ${WRKSRC}/scripts/*.py

NO_STAGE= yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR} ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/documentation/p65-schuster.pdf ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/documentation/html/* ${DOCSDIR}/html
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
Expand Down
4 changes: 2 additions & 2 deletions py-python-evtx/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (python-evtx-0.2.1.tar.gz) = b545a4b8593637a09eb2d254b371116ff90a36593cac9718944f95e15fc1f460
SIZE (python-evtx-0.2.1.tar.gz) = 1419823
SHA256 (python-evtx-0.3.1.tar.gz) = 24a3c6c33a3aeba7fa41f5af8fe419f8c24db21548ed2e71d6055c913a55c011
SIZE (python-evtx-0.3.1.tar.gz) = 1711060

0 comments on commit 9ed4e15

Please sign in to comment.