mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
9b68ee7b33
(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>
8 lines
175 B
Bash
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
|