diff options
author | epg <epg> | 2008-09-10 16:33:38 +0000 |
---|---|---|
committer | epg <epg> | 2008-09-10 16:33:38 +0000 |
commit | 0bc199be0077ba8524fcb115a971ce58ecd47b6a (patch) | |
tree | 59cc7091f20c1f656fb7cfc9fbd44bb86cf355ef /lang | |
parent | acb81a584981e56593b62d85055524695c52bb3d (diff) | |
download | pkgsrc-0bc199be0077ba8524fcb115a971ce58ecd47b6a.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" |