diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-04 22:23:53 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-04 23:09:31 +0200 |
commit | dda86851c294b8efd0c3b5f7dbfab53f9980ce15 (patch) | |
tree | e7cc21fdd6b299ada2fb089b5e34c06162e6ec62 /media-gfx/dawn/dawn-3.90b-r1.ebuild | |
parent | media-gfx/dawn: Fix building with GCC-7 (diff) | |
download | gentoo-dda86851c294b8efd0c3b5f7dbfab53f9980ce15.tar.gz gentoo-dda86851c294b8efd0c3b5f7dbfab53f9980ce15.tar.bz2 gentoo-dda86851c294b8efd0c3b5f7dbfab53f9980ce15.zip |
media-gfx/dawn: Minor makeover, sorting, s/MYP/MY_P/, DOCS
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-gfx/dawn/dawn-3.90b-r1.ebuild')
-rw-r--r-- | media-gfx/dawn/dawn-3.90b-r1.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/media-gfx/dawn/dawn-3.90b-r1.ebuild b/media-gfx/dawn/dawn-3.90b-r1.ebuild index 739ba96e10a9..b8293cd2451e 100644 --- a/media-gfx/dawn/dawn-3.90b-r1.ebuild +++ b/media-gfx/dawn/dawn-3.90b-r1.ebuild @@ -2,13 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 + inherit toolchain-funcs versionator -MYP=${PN}_$(replace_version_separator 1 _) +MY_P=${PN}_$(replace_version_separator 1 _) DESCRIPTION="3D geometrical postscript renderer" HOMEPAGE="http://geant4.kek.jp/~tanaka/DAWN/About_DAWN.html" -SRC_URI="http://geant4.kek.jp/~tanaka/src/${MYP}.tgz" +SRC_URI="http://geant4.kek.jp/~tanaka/src/${MY_P}.tgz" LICENSE="public-domain" SLOT="0" @@ -17,19 +18,21 @@ KEYWORDS="~amd64 ~hppa ~ppc ~x86" IUSE="doc opengl X" RDEPEND="dev-lang/tk:* - X? ( x11-libs/libX11 ) - opengl? ( virtual/opengl )" + opengl? ( virtual/opengl ) + X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} app-shells/tcsh doc? ( virtual/latex-base )" -S="${WORKDIR}/${MYP}" +S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${P}-no-interactive.patch "${FILESDIR}"/${P}-gcc7.patch ) +DOCS=( README.txt ) + src_prepare() { default @@ -37,7 +40,7 @@ src_prepare() { -e '/strip/d' Makefile*in || die if use X; then - mv -f "${S}"/configure_xwin "${S}"/configure || die + mv -f configure_xwin configure || die fi tc-export CXX @@ -48,7 +51,7 @@ src_install() { if use doc; then pdflatex DOC/G4PRIM_FORMAT_24.tex || die "pdf generation failed" - DOCS=( README.txt DOC/*.pdf ) + DOCS+=( DOC/*.pdf ) HTML_DOCS=( DOC/*.html ) fi |