Magellan Linux

Annotation of /trunk/todo/esvn/esvn-0.6.12-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
Original Path: trunk/extras/esvn/esvn-0.6.12-r2.smage2
File size: 1129 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/esvn/esvn-0.6.12-r2.smage2,v 1.1 2008/08/17 09:18:42 niro Exp $
2    
3     PNAME="esvn"
4     PVER="0.6.12"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-util"
8     STATE="unstable"
9    
10     DESCRIPTION="eSvn is a cross-platform (QT-based) GUI frontend for the Subversion revision system."
11     HOMEPAGE="http://sourceforge.net/projects/esvn/"
12    
13     DEPEND=">= x11-libs/qt-3.3.8
14     >= dev-util/subversion-1.4"
15    
16     SDEPEND=">= sys-apps/sed-4"
17    
18     SRCFILE="${PNAME}-${PVER}-1.tar.gz"
19     SRCDIR="${BUILDDIR}/${PNAME}"
20    
21     sminclude mtools
22    
23     SRC_URI=(
24     sourceforge://${PNAME}/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # fix doc pathes
34     sed -i "s:/usr/share/doc/esvn/html-docs:/usr/share/doc/${PNAME}-${PVER}/html:" src/mainwindow.cpp || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40     mmake || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     # needed directories
48     minstalldir /usr/bin || die
49    
50     mmake -f esvn.mak INSTALL_ROOT=${BINDIR} install || die
51     minstallexec esvn /usr/bin || die
52     minstallexec esvn-diff-wrapper /usr/bin || die
53    
54     minstallhtml html-docs/* || die
55     minstalldocs AUTHORS ChangeLog COPYING LICENSE README || die
56     }

Properties

Name Value
svn:keywords Id