Annotation of /trunk/extras/xorg-cf-files/xorg-cf-files-1.0.6-r1.smage2
Parent Directory | Revision Log
Revision 27410 -
(hide annotations)
(download)
Wed Dec 23 13:28:03 2015 UTC (8 years, 9 months ago) by niro
File size: 820 byte(s)
Wed Dec 23 13:28:03 2015 UTC (8 years, 9 months ago) by niro
File size: 820 byte(s)
auto added: ver bump to 1.0.6-r1
1 | niro | 27410 | # $Id$ |
2 | |||
3 | PNAME="xorg-cf-files" | ||
4 | PVER="1.0.6" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="x11-misc" | ||
8 | |||
9 | DESCRIPTION="Old Imake-related build files." | ||
10 | HOMEPAGE="http://xorg.freedesktop.org" | ||
11 | |||
12 | SDEPEND=">= virtual/sed" | ||
13 | |||
14 | UP2SUBDIR="util" | ||
15 | sminclude xorg | ||
16 | |||
17 | # override xorg.sminc | ||
18 | DEPEND="" | ||
19 | |||
20 | src_install() | ||
21 | { | ||
22 | xorg_src_install || die | ||
23 | |||
24 | # fix man dir | ||
25 | echo "#define ManDirectoryRoot /usr/share/man" >> ${BINDIR}/usr/$(mlibdir)/X11/config/host.def || die | ||
26 | |||
27 | # fix libdir on 64bit arches (defaults are lib not lib64) | ||
28 | sed -i "s:LibDirName *lib$:LibDirName $(mlibdir):" \ | ||
29 | ${BINDIR}/usr/$(mlibdir)/X11/config/Imake.tmpl || die | ||
30 | sed -i -e "s:define LibDir Concat(ProjectRoot,/lib/X11):define LibDir Concat(ProjectRoot,/$(mlibdir)/X11):" \ | ||
31 | -e "s:define LibDir /usr/lib/X11:define LibDir /usr/$(mlibdir)/X11:" \ | ||
32 | ${BINDIR}/usr/$(mlibdir)/X11/config/X11.tmpl || die | ||
33 | } |