/[gentoo-alt]/trunk/prefix-overlay/sys-apps/gawk/gawk-3.1.5.ebuild
Gentoo

Diff of /trunk/prefix-overlay/sys-apps/gawk/gawk-3.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 908 Revision 909
11SRC_URI="mirror://gnu/gawk/${P}.tar.gz" 11SRC_URI="mirror://gnu/gawk/${P}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" 15KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
16IUSE="nls build" 16IUSE="nls build gnuprefix"
17#todo: gnuprefix should become global I think
17 18
18RDEPEND="" 19RDEPEND=""
19DEPEND="${RDEPEND} 20DEPEND="${RDEPEND}
20 nls? ( sys-devel/gettext )" 21 nls? ( sys-devel/gettext )"
21 22
80 dodir /usr/bin 81 dodir /usr/bin
81 # Compat symlinks 82 # Compat symlinks
82 dosym /bin/gawk-${PV} /usr/bin/gawk 83 dosym /bin/gawk-${PV} /usr/bin/gawk
83 dosym gawk-${PV} /bin/awk 84 dosym gawk-${PV} /bin/awk
84 dosym /bin/gawk-${PV} /usr/bin/awk 85 dosym /bin/gawk-${PV} /usr/bin/awk
85 [[ ${USERLAND} != "GNU" ]] && rm -f "${D}"/{,usr/}bin/awk{,-${PV}} 86 use gnuprefix && rm -f "${D}"/{,usr/}bin/awk{,-${PV}}
86 87
87 # Install headers 88 # Install headers
88 insinto /usr/include/awk 89 insinto /usr/include/awk
89 doins "${S}"/*.h || die "ins headers failed" 90 doins "${S}"/*.h || die "ins headers failed"
90 # We do not want 'acconfig.h' in there ... 91 # We do not want 'acconfig.h' in there ...
92 93
93 if ! use build ; then 94 if ! use build ; then
94 cd "${S}" 95 cd "${S}"
95 rm -f "${D}"/usr/share/man/man1/pgawk.1 96 rm -f "${D}"/usr/share/man/man1/pgawk.1
96 dosym gawk.1.gz /usr/share/man/man1/pgawk.1.gz 97 dosym gawk.1.gz /usr/share/man/man1/pgawk.1.gz
97 [[ ${USERLAND} == "GNU" ]] && dosym gawk.1.gz /usr/share/man/man1/awk.1.gz 98 use gnuprefix || dosym gawk.1.gz /usr/share/man/man1/awk.1.gz
98 dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README 99 dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD README
99 docinto README_d 100 docinto README_d
100 dodoc README_d/* 101 dodoc README_d/*
101 docinto awklib 102 docinto awklib
102 dodoc awklib/ChangeLog 103 dodoc awklib/ChangeLog

Legend:
Removed from v.908  
changed lines
  Added in v.909

  ViewVC Help
Powered by ViewVC 1.1.20