| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.6 2006/11/21 14:28:31 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.7 2006/12/01 02:58:32 flameeyes Exp $ |
| 4 | # |
4 | # |
| 5 | # Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org> |
5 | # Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org> |
| 6 | # Diego Pettenò <flameeyes@gentoo.org> |
6 | # Diego Pettenò <flameeyes@gentoo.org> |
| 7 | # Benigno B. Junior <bbj@gentoo.org> |
7 | # Benigno B. Junior <bbj@gentoo.org> |
| 8 | |
8 | |
| … | |
… | |
| 40 | mkinstall() { |
40 | mkinstall() { |
| 41 | [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)" |
41 | [[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)" |
| 42 | |
42 | |
| 43 | # STRIP= will replace the default value of -s, leaving to portage the |
43 | # STRIP= will replace the default value of -s, leaving to portage the |
| 44 | # task of stripping executables. |
44 | # task of stripping executables. |
| 45 | ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= DESTDIR="${D}" "$@" install |
45 | ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= MANSUBDIR= DESTDIR="${D}" "$@" install |
| 46 | } |
46 | } |
| 47 | |
47 | |
| 48 | #### dummy_mk <dirnames> |
48 | #### dummy_mk <dirnames> |
| 49 | # removes the specified subdirectories and creates a dummy makefile in them |
49 | # removes the specified subdirectories and creates a dummy makefile in them |
| 50 | # useful to remove the need for "minimal" patches |
50 | # useful to remove the need for "minimal" patches |