summaryrefslogtreecommitdiff
blob: 49f18abd52377ccf2f7ae26e4255811a6dc6bc85 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/cvs/cvs-1.11-r1.ebuild,v 1.2 2001/05/08 23:39:35 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Concurrent Versions System - source code revision control tools"
SRC_URI="ftp://ftp.cvshome.org/pub/${P}/${P}.tar.gz"
HOMEPAGE="http://www.cvshome.org/"
DEPEND="virtual/glibc >=sys-libs/ncurses-5.1"

src_compile() {                           
    try ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
    try make
}

src_install() {                               
    into /usr
    try make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
    dodoc BUGS COPYING* ChangeLog* DEVEL* FAQ HACKING 
    dodoc MINOR* NEWS PROJECTS README* TESTS TODO
    mv ${D}/usr/lib/cvs/contrib ${D}/usr/doc/${P}/contrib
    insinto /usr/share/emacs/site-lisp
    doins cvs-format.el
}