mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to 2013-12-13
- Use PYDISTUTILS_AUTOPLIST - Install examples as scripts since they are now shebangfixed
This commit is contained in:
parent
e0d8e9dede
commit
11244cd0fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336478
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pytsk
|
||||
DISTVERSION= 2013-11-24
|
||||
DISTVERSION= 2013-12-13
|
||||
CATEGORIES= sysutils security devel python
|
||||
MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiScUxsUm54cG02RDA/ \
|
||||
LOCAL/antoine
|
||||
@ -24,8 +24,7 @@ python_OLD_CMD= .*
|
||||
python_CMD= ${PYTHON_CMD}
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_PKGNAME=pytsk3
|
||||
PYDISTUTILS_PKGVERSION=4.1.2
|
||||
PYDISTUTILS_AUTOPLIST=yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s|'/', 'usr', 'local'|'${LOCALBASE}'|" \
|
||||
@ -37,8 +36,6 @@ PORTDOCS= README
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
PORTEXAMPLES= *
|
||||
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pytsk3.so
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
@ -50,7 +47,7 @@ post-install:
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (pytsk-2013-11-24.tgz) = a61be70df8d10cf029e02d56067389c0a42b4ee91c1172d171196603510cf965
|
||||
SIZE (pytsk-2013-11-24.tgz) = 85316
|
||||
SHA256 (pytsk-2013-12-13.tgz) = b8dd810698d0056c7484df428f4000721ef607c89e00997fd76016a19b4f78a0
|
||||
SIZE (pytsk-2013-12-13.tgz) = 88489
|
||||
|
Loading…
Reference in New Issue
Block a user