Subject: REPLACE_PERL?
To: None <tech-pkg@netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: tech-pkg
Date: 04/02/2001 17:24:50
.for f in ${REPLACE_NCURSES}
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; if [ -f ${f} ]; then   \
                ${SED}  -e "s/ncurses/curses/g" ${f} > ${f}.new;        \
                if [ -x ${f} ]; then                                    \
                        ${CHMOD} a+x ${f}.new;                          \
                fi;                                                     \
                ${MV} ${f}.new ${f};                                    \
        fi
.endfor
.endif

After reading that code REPLACE_PERL comes to mind... we often have to
invoke sed to change perl's path and mv output to the correct place.
Maybe we could introdute this?

-- 
/* [zuntum] zuntum@netbsd.org , [WWW] http://zuntum.net */