diff options
author | richard <richard@pkgsrc.org> | 2015-05-24 06:27:00 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2015-05-24 06:27:00 +0000 |
commit | 17e260c2374f148ef795ae9769d149869db4e231 (patch) | |
tree | 515dfa6880f9dde0c27b109ccc39f789319e5f1a /security | |
parent | 07b511d9ab398bcdff0da9b70837f033f4baa511 (diff) | |
download | pkgsrc-17e260c2374f148ef795ae9769d149869db4e231.tar.gz |
avoid install time 'world-writable file' errors
Diffstat (limited to 'security')
-rw-r--r-- | security/py-keyring/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile index 2dda20537f7..b776b5142f0 100644 --- a/security/py-keyring/Makefile +++ b/security/py-keyring/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2015/03/01 15:09:07 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2015/05/24 06:27:00 richard Exp $ DISTNAME= keyring-5.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -16,6 +16,9 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5.0:../../devel/py-hgtools REPLACE_PYTHON+= keyring/cli.py PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} +post-extract: + ${RUN} ${CHMOD} go-w ${WRKSRC}/keyring.egg-info/* + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/keyring ${DESTDIR}${PREFIX}/bin/keyring-${PYVERSSUFFIX} |