diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-08-22 03:33:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-08-22 03:33:53 +0000 |
commit | 44e16e1871b6c1299f0660957180b538980dd101 (patch) | |
tree | df2daad9877ecf93002d87b004955616bb6492cd | |
parent | amd64/x86 stable (diff) | |
download | gentoo-2-44e16e1871b6c1299f0660957180b538980dd101.tar.gz gentoo-2-44e16e1871b6c1299f0660957180b538980dd101.tar.bz2 gentoo-2-44e16e1871b6c1299f0660957180b538980dd101.zip |
Add USE=doc to disable generation/installation of extraneous docs.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64, RepoMan options: --force)
-rw-r--r-- | dev-util/nsis/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/nsis/nsis-2.39.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-util/nsis/ChangeLog b/dev-util/nsis/ChangeLog index 41ac1664edea..80af38421a68 100644 --- a/dev-util/nsis/ChangeLog +++ b/dev-util/nsis/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/nsis # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.23 2008/08/22 00:38:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.24 2008/08/22 03:33:53 vapier Exp $ + + 22 Aug 2008; Mike Frysinger <vapier@gentoo.org> nsis-2.39.ebuild: + Add USE=doc to disable generation/installation of extraneous docs. *nsis-2.39 (22 Aug 2008) diff --git a/dev-util/nsis/nsis-2.39.ebuild b/dev-util/nsis/nsis-2.39.ebuild index deafdaab6797..a38835af9694 100644 --- a/dev-util/nsis/nsis-2.39.ebuild +++ b/dev-util/nsis/nsis-2.39.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.39.ebuild,v 1.1 2008/08/22 00:38:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.39.ebuild,v 1.2 2008/08/22 03:33:53 vapier Exp $ mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32) @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2 LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="bzip2 config-log prebuilt-system zlib" +IUSE="bzip2 config-log doc prebuilt-system zlib" # NSIS Menu uses wxwindows but it's all broken, so disable for now # wxwindows? ( x11-libs/wxGTK ) @@ -44,6 +44,13 @@ pkg_setup() { die "mingw32 is needed" } +src_unpack() { + unpack ${A} + cd "${S}" + # a dirty but effective way of killing generated docs + use doc || echo > Docs/src/SConscript +} + get_additional_options() { echo \ PREFIX=/usr \ @@ -78,6 +85,7 @@ src_install() { insinto /usr/share/nsis/Plugins doins "${WORKDIR}"/${P}/Plugins/System.dll || die fi + use doc || rm -rf "${D}"/usr/share/doc/${PF}/{Docs,Examples} fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh |