diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-09 03:35:47 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-09 03:35:47 +0800 |
commit | b128ac2c806159f5c8b1282576f33caf7993c556 (patch) | |
tree | 013d62f632e6f8eeb7b3200606b41805e40b6989 /www/py-HTMLgen | |
parent | 117af7d9342c46485b5aa5da6aaed29a3ec9e6b7 (diff) | |
download | freebsd-ports-gnome-b128ac2c806159f5c8b1282576f33caf7993c556.tar.gz freebsd-ports-gnome-b128ac2c806159f5c8b1282576f33caf7993c556.tar.zst freebsd-ports-gnome-b128ac2c806159f5c8b1282576f33caf7993c556.zip |
- Allow staging as a regular user
- USES=python
Diffstat (limited to 'www/py-HTMLgen')
-rw-r--r-- | www/py-HTMLgen/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/www/py-HTMLgen/Makefile b/www/py-HTMLgen/Makefile index 7a5758475fc0..5c0f41ee1a38 100644 --- a/www/py-HTMLgen/Makefile +++ b/www/py-HTMLgen/Makefile @@ -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> |