diff options
author | epg <epg@pkgsrc.org> | 2008-09-10 16:33:38 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-09-10 16:33:38 +0000 |
commit | 359ed2497fd99b2796a00661acb36d71c18fe970 (patch) | |
tree | 59cc7091f20c1f656fb7cfc9fbd44bb86cf355ef /lang | |
parent | 1b9d545f4978f6de73aab74ffae6bfc9e3587334 (diff) | |
download | pkgsrc-359ed2497fd99b2796a00661acb36d71c18fe970.tar.gz |
Add PRINT_PLIST_AWK code.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/egg.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/egg.mk b/lang/python/egg.mk index 79989918e31..72e2092c2bd 100644 --- a/lang/python/egg.mk +++ b/lang/python/egg.mk @@ -1,4 +1,4 @@ -# $NetBSD: egg.mk,v 1.4 2008/04/26 15:37:21 joerg Exp $ +# $NetBSD: egg.mk,v 1.5 2008/09/10 16:33:38 epg Exp $ # # Common logic to handle Python Eggs # @@ -11,6 +11,10 @@ PYTHON_VERSIONS_ACCEPTED?= 25 24 PLIST_SUBST+= EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX} PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info +PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info/, \ + "$${EGG_INFODIR}") } +PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py${PYVERSSUFFIX}-nspkg.pth/, \ + "$${EGG_NAME}-nspkg.pth") } _PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed .if ${_USE_DESTDIR} == "no" |