1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Allow staging as a regular user

- USES=python
This commit is contained in:
Antoine Brodin 2014-09-08 19:35:47 +00:00
parent 3d00141e41
commit 4c06bd532e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367686

View File

@ -14,7 +14,7 @@ DISTNAME= HTMLgen
MAINTAINER= python@FreeBSD.org
COMMENT= Python library for the generation of HTML documents
USE_PYTHON= 2
USES= python:2
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
@ -26,10 +26,6 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC} -cf - README html image | \
${TAR} -C ${STAGEDIR}${DOCSDIR} -xvf -
@${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
(cd ${WRKSRC} && ${COPYTREE_SHARE} "README html image" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>