diff options
Diffstat (limited to 'x11-misc/macopix/macopix-1.0.3.ebuild')
-rw-r--r-- | x11-misc/macopix/macopix-1.0.3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-misc/macopix/macopix-1.0.3.ebuild b/x11-misc/macopix/macopix-1.0.3.ebuild new file mode 100644 index 000000000000..94c9a26928a2 --- /dev/null +++ b/x11-misc/macopix/macopix-1.0.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/macopix/macopix-1.0.3.ebuild,v 1.1 2004/05/01 13:47:39 usata Exp $ + +DESCRIPTION="MaCoPiX (Mascot Constructive Pilot for X) is a desktop mascot application on UNIX / X Window system." +HOMEPAGE="http://kurumi.sakura.ne.jp/~chimari/macopix/index-e.html" + +BASE_URI="http://kurumi.sakura.ne.jp/~chimari/macopix" +SRC_URI="${BASE_URI}/${P}.tar.bz2" + +# NOTE: These mascots are not redistributable on commercial CD-ROM. +# The author granted to use them under Gentoo Linux. +MY_MASCOTS="marimite cosmos mizuiro pia2 tsukihime triangle_heart comic_party kanon one" +for i in ${MY_MASCOTS} ; do + SRC_URI="${SRC_URI} ${BASE_URI}/${PN}-mascot-${i}-ja-1.00.tar.gz" +done + +# programme itself is GPL-2, and mascots are free-noncomm +LICENSE="GPL-2 free-noncomm" +SLOT="0" +KEYWORDS="~x86" + +IUSE="gtk2 nls" + +DEPEND="gtk2? ( >=x11-libs/gtk+-2.0.0 + >=dev-libs/glib-2.0.0 ) + !gtk2? ( =x11-libs/gtk+-1.2* + =dev-libs/glib-1.2* + >=media-libs/gdk-pixbuf-0.7 ) + nls? ( >=sys-devel/gettext-0.10 ) + ~media-libs/libpng" + +src_compile() { + econf `use_with gtk2` \ + `use_enable nls` || die + emake || die "emake failed" +} + +src_install() { + einstall || die + + dodoc AUTHORS ChangeLog* NEWS *README* + + # install mascots + for d in ${MY_MASCOTS} ; do + cd ${WORKDIR}/${PN}-mascot-${d}-ja + insinto /usr/share/${PN} + # please ignore doins errors ... + doins *.mcpx *.menu + insinto /usr/share/${PN}/pixmap + doins *.png + docinto $d + dodoc README.jp + done +} |