summaryrefslogtreecommitdiff
blob: 5a32a39473f401d26aec347d2e1b320b98986b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author AJ Lewis <lewis@sistina.com>

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="TkCVS"
SRC_URI="http://www.twobarleycorns.net/${A}"
HOMEPAGE="http://www.twobarleycorns.net/tkcvs.html" 
DEPEND="virtual/glibc
	>=dev-lang/tcl-tk-8.1.1"

src_compile() {                           
   echo "It's tcl, you don't need to compile.  ;)"
}

src_install() {

   dodir /usr/lib /usr/bin /usr/lib/tkcvs/ /usr/lib/tkcvs/bitmaps

   cat tkcvs/tkcvs.blank | sed -e {s/_TCDIR_/"\/usr\/lib"/} \
       > ${D}/usr/bin/tkcvs
   chmod 755 ${D}/usr/bin/tkcvs
   chmod 755 ${S}/tkdiff/tkdiff
   dobin tkdiff/tkdiff
   insinto /usr/lib/tkcvs
   doins tkcvs/modtree.tcl tkcvs/cvs.tcl tkcvs/reports.tcl \
         tkcvs/tooltips.tcl tkcvs/tkcvs_def.tcl tkcvs/gen_log.tcl \
         tkcvs/logcanvas.tcl tkcvs/dialog.tcl tkcvs/import.tcl \
         tkcvs/merge.tcl tkcvs/errors.tcl tkcvs/static.tcl tkcvs/search.tcl \
         tkcvs/filebrowse.tcl tkcvs/modules.tcl tkcvs/commit.tcl \
         tkcvs/modbrowse.tcl tkcvs/workdir.tcl tkcvs/help.tcl tkcvs/tclIndex
   insinto /usr/lib/tkcvs/bitmaps
   doins bitmaps/edit.gif bitmaps/files.gif bitmaps/loop-glasses.gif \
         bitmaps/clean.gif bitmaps/clear.gif bitmaps/tclfish.gif \
	 bitmaps/diff.gif bitmaps/fileview.gif bitmaps/dir.gif \
	 bitmaps/loop-half.gif bitmaps/conflict.gif bitmaps/patches.gif \
	 bitmaps/fileedit.gif bitmaps/arrow_hl_up.gif bitmaps/branchtag.gif \
	 bitmaps/branch.gif bitmaps/checkin.gif bitmaps/tag.gif \
	 bitmaps/logfile.gif bitmaps/refresh.gif bitmaps/arrow_dn.gif \
	 bitmaps/remove.gif bitmaps/mod.gif bitmaps/import.gif \
	 bitmaps/patchfile.gif bitmaps/checkout.gif bitmaps/add.gif \
	 bitmaps/mergebranch.gif bitmaps/tags.gif bitmaps/adir.gif \
	 bitmaps/arrow_up.gif bitmaps/arrow.gif bitmaps/unedit.gif \
	 bitmaps/delete.gif bitmaps/mdir.gif bitmaps/modules.gif \
	 bitmaps/ball.gif bitmaps/who.gif bitmaps/export.gif bitmaps/loop.gif \
	 bitmaps/modbrowse.gif bitmaps/mergediff.gif bitmaps/arrow_hl_dn.gif \
	 bitmaps/amod.gif bitmaps/tclfish.xbm bitmaps/tkcvs32.xbm \
	 bitmaps/tkcvs48.xbm bitmaps/tkcvs32_mask.xbm bitmaps/tclfish_fly.xbm \
	 bitmaps/modbrowse.xbm bitmaps/trace.xbm 
   doman tkcvs/tkcvs.n
}