summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-03-01 19:17:36 +0100
committerPacho Ramos <pacho@gentoo.org>2018-03-01 19:27:58 +0100
commit949a777a5debc9b7a939d87e7002168ed8d33086 (patch)
treeee0e2c0bbab6cd5ca6603e18f927e7d4219d8822 /media-gfx/xfig
parentnet-misc/vncrec: Drop old (diff)
downloadgentoo-949a777a5debc9b7a939d87e7002168ed8d33086.tar.gz
gentoo-949a777a5debc9b7a939d87e7002168ed8d33086.tar.bz2
gentoo-949a777a5debc9b7a939d87e7002168ed8d33086.zip
media-gfx/xfig: x11-libs/libXp is not really needed
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-gfx/xfig')
-rw-r--r--media-gfx/xfig/xfig-3.2.6a-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-gfx/xfig/xfig-3.2.6a-r1.ebuild b/media-gfx/xfig/xfig-3.2.6a-r1.ebuild
new file mode 100644
index 000000000000..44de42d398d4
--- /dev/null
+++ b/media-gfx/xfig/xfig-3.2.6a-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively in an X window"
+HOMEPAGE="http://mcj.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mcj/${PN}-full-${PV}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="jpeg nls postscript"
+
+RDEPEND="
+ x11-libs/libXaw
+ x11-libs/libXaw3d
+ x11-libs/libXi
+ x11-libs/libXt
+ media-libs/libpng:0=
+ media-fonts/font-misc-misc
+ media-fonts/urw-fonts
+ >=media-gfx/transfig-3.2.5-r1
+ media-libs/netpbm
+ jpeg? ( virtual/jpeg:0= )
+ nls? ( x11-libs/libXaw3d[unicode] )
+ postscript? ( app-text/ghostscript-gpl )
+"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/inputproto
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.2.6a-urwfonts.patch"
+ "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
+ "${FILESDIR}/${PN}-3.2.6a-app-defaults.patch"
+)
+
+src_configure() {
+ econf \
+ $(use_enable nls i18n) \
+ $(use_enable jpeg) \
+ $(use_with postscript gs) \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects docdir...
+}