# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="BricsCad™ V6 for Linux is a clone of the widely used AutoCAD®" HOMEPAGE="http://www.bricscad.com/" BINPACK="bricscad-6.0.0019-1.i386.tgz" SRC_URI="http://www.bricscad.com/download/that_is_not_real_url/${BINPACK}" RESTRICT="fetch strip" LICENSE="evaluation, comercial" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11 app-emulation/wine" RDEPEND="" pkg_nofetch() { einfo "You decided emerge bricscad, binary package into your system." einfo "At first, plz register, fill form, and fetch ${BINPACK}" einfo "from ${HOMEPAGE}" einfo "Then move ${BINPACK} to your ${DISTDIR}" } src_install() { mkdir -p ${D}/opt/ mkdir -p ${D}/bin/ cp -a ${WORKDIR}/* ${D}/opt/ || die echo "exec /opt/bricscad/icad" > ${D}/bin/bricscad chmod +x ${D}/bin/bricscad einfo "Now some test on binaries. It takes long time (5 min?), be patient." } pkg_postinst() { einfo "start /opt/bricscad/icad" einfo "for evaluation registration try /opt/bricscad/regapp" }