42c2cdc260
http://www.xfree86.org/4.4.0/RELNOTES.html PR: ports/67733 imake ports/67508 libraries ports/67510 clients ports/67513 server ports/67776 100dpi fonts ports/67777 75dpi fonts ports/67778 cyrillic fonts ports/67779 default bitmap fonts ports/67781 font encodings ports/67783 scalable fonts ports/67784 font server ports/67785 XFree86 meta-port ports/67775 documents ports/67786 manpages ports/67787 nest server ports/67788 print server ports/67789 virtual framebuffer server ports/56487 (Upgrading Xfree86-clients from ports overwrites xdm config files) ports/44252 (XFree86-4-Server port removes/overwrites config files) Submitted by: Dejan Lesjak (dejan DOT lesjak AT ijs DOT si) Additional changes by: anholt Jung-uk Kim (jkim AT niksun DOT com) arved Tested by: pointyhat linimon
16 lines
373 B
Bash
16 lines
373 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
PKG_PREFIX=${PKG_PREFIX:=/usr/X11R6}
|
|
XDMCONFDIR=${PKG_PREFIX}/lib/X11/xdm
|
|
XDMCONFFILES="GiveConsole TakeConsole Xaccess Xresources Xservers Xsession \
|
|
Xsetup_0 Xwilling xdm-config"
|
|
|
|
for file in $XDMCONFFILES; do
|
|
if [ ! -f ${XDMCONFDIR}/$file ]; then
|
|
cp ${XDMCONFDIR}/default/$file ${XDMCONFDIR}/$file
|
|
fi
|
|
done
|