1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11-fm/asfiles/pkg-install
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
175 B
Bash

#!/bin/sh
ADDIR=${PKG_PREFIX}/lib/X11/app-defaults
if [ X"$2" = "XPOST-INSTALL" ]; then
perl -pe 's/%%PREFIX%%/$ENV{PKG_PREFIX}/g' ${ADDIR}/Files.ad > ${ADDIR}/Files
fi