diff options
author | wiz <wiz@pkgsrc.org> | 2014-01-18 19:48:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-01-18 19:48:57 +0000 |
commit | 830f791c5d26bfc937c8391bab61a640dae9c8ec (patch) | |
tree | 62a39f2986989e2166a4a292c5485f606616fefa /mk | |
parent | df20113bc0da67144785f6a2130b78bbfe01d1e4 (diff) | |
download | pkgsrc-830f791c5d26bfc937c8391bab61a640dae9c8ec.tar.gz |
Improve support for python-3.3.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/plist/print-plist.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk index da8ed6d8f2a..55b0d6bfc41 100644 --- a/mk/plist/print-plist.mk +++ b/mk/plist/print-plist.mk @@ -1,4 +1,4 @@ -# $NetBSD: print-plist.mk,v 1.24 2013/07/05 15:31:54 jperkin Exp $ +# $NetBSD: print-plist.mk,v 1.25 2014/01/18 19:48:57 wiz Exp $ ### ### Automatic PLIST generation @@ -29,6 +29,10 @@ _PRINT_PLIST_AWK_SUBST+= \ gsub("^${PKGGNUDIR:S/\/$$//}/", "gnu/"); \ gsub("^${PKGINFODIR}/", "info/"); \ gsub("^${PKGMANDIR}/", "man/"); +# for Python packages +_PRINT_PLIST_AWK_SUBST+= gsub(/__pycache__\//, ""); +_PRINT_PLIST_AWK_SUBST+= gsub(/\.cpython-[0-9]+/, "") + _PRINT_PLIST_AWK_SUBST+=} _PRINT_PLIST_AWK_IGNORE= ($$0 ~ /^${PKG_DBDIR:S|^${PREFIX}/||:S|/|\\/|g}\//) |