freebsd-ports/lang/pm3-base/scripts/configure

10 lines
246 B
Plaintext
Raw Normal View History

#! /bin/sh
cfg=${WRKSRC}/m3config/src/${TARGET}
cp -p ${cfg} ${cfg}.bak || exit
sed \
-e "/^INSTALL_ROOT = /s|\".*\"|\"${PREFIX}\"|" \
-e "/^X11ROOT = /s|\".*\"|\"${X11BASE}/lib\"|" \
${cfg} > ${cfg}.tmp || exit
mv ${cfg}.tmp ${cfg}