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 | 6afcdaa1bfab811cb16f5e22c456492b51b879ce (patch) | |
tree | 59cc7091f20c1f656fb7cfc9fbd44bb86cf355ef /lang | |
parent | d73e25abd2bbc196c853374dead38ed470ab7b7e (diff) | |
download | pkgsrc-6afcdaa1bfab811cb16f5e22c456492b51b879ce.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" |