freebsd-ports/x11-fm/asfiles/scripts/post-configure
Steve Price 9b68ee7b33 Notes from submitter:
(1) Add resource file Files so as to install ${PREFIX}/lib/X11/app-defaults/Files
(2) PREFIX varialization has been done!

PR:		10750
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
1999-04-02 03:56:48 +00:00

8 lines
193 B
Bash

#!/bin/sh
dirs=". src src/bitmaps src/pixmaps src/external src/regexp pixmaps bitmaps"
for d in ${dirs}; do
perl -pi -e 's@^(prefix[ \t]*=).*$@$1\${PREFIX}@' ${WRKSRC}/${d}/Makefile
done