pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Substitution stage on PLIST



 >> Does anybody know how to make a substitution stage on PLIST.
 >> That is, given PLIST file that contains, e.g.
 >>
 >>    ...
 >>    ${PYSITELIB}/BabelPhish/pixmaps/s9.gif
 >>    ${PYSITELIB}/BabelPhish/pixmaps/stop.gif
 >>    ...
 >>
 >> I'd like to convert it to
 >>    ...
 >>    lib/python2.4/site-packages/BabelPhish/pixmaps/s9.gif
 >>    lib/python2.4/site-packages/BabelPhish/pixmaps/stop.gif
 >>    ...

> bmake help topic=PLIST_SUBST

This command lists me a list assignments, but this is not what I
really need.  I know for what purpose variable PLIST_SUBST is. But I
thought that this operation is already
done by 'print-SUPER-TARGET' target.

0 xcolors>make help topic=PLIST_SUBST            
===> mk/plist/plist.mk (keywords: PLIST_SUBST):
# PLIST_SUBST contains package-settable "${variable}" to "value"
# substitutions for PLISTs
#
PLIST_SUBST+=   OPSYS=${OPSYS:Q}                                        \
                OS_VERSION=${OS_VERSION:Q}                              \
                MACHINE_ARCH=${MACHINE_ARCH:Q}                          \
                MACHINE_GNU_ARCH=${MACHINE_GNU_ARCH:Q}                  \
                MACHINE_GNU_PLATFORM=${MACHINE_GNU_PLATFORM:Q}          \
                LN=${LN:Q}                                              \
                LOWER_VENDOR=${LOWER_VENDOR:Q}                          \
                LOWER_OPSYS=${LOWER_OPSYS:Q}                            \
                LOWER_OS_VERSION=${LOWER_OS_VERSION:Q}                  \
                PKGBASE=${PKGBASE:Q}                                    \
                PKGNAME=${PKGNAME_NOREV:Q}                              \
                PKGLOCALEDIR=${PKGLOCALEDIR:Q}                          \
                PKGVERSION=${PKGVERSION:C/nb[0-9]*$//:Q}                \
                LOCALBASE=${LOCALBASE:Q}                                \
                VIEWBASE=${VIEWBASE:Q}                                  \
                X11BASE=${X11BASE:Q}                                    \
                X11PREFIX=${X11PREFIX:Q}                                \
                SVR4_PKGNAME=${SVR4_PKGNAME:Q}                          \
                CHGRP=${CHGRP:Q}                                        \
                CHMOD=${CHMOD:Q}                                        \
                CHOWN=${CHOWN:Q}                                        \
                MKDIR=${MKDIR:Q}                                        \
                RMDIR=${RMDIR:Q}                                        \
                RM=${RM:Q}                                              \
                TRUE=${TRUE:Q}                                          \
                PKGMANDIR=${PKGMANDIR:Q}
0 xcolors>

-- 
Best regards, Aleksey Cheusov.



Home | Main Index | Thread Index | Old Index