Magellan Linux

Contents of /trunk/deprecated/rman/rman-3.2-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13460 - (show annotations) (download)
Tue Oct 9 13:17:47 2012 UTC (11 years, 7 months ago) by niro
File size: 777 byte(s)
-moved to 'deprecated'
1 # $Id:$
2
3 PNAME="rman"
4 PVER="3.2"
5 PBUILD="r7"
6
7 PCAT="app-text"
8
9 DESCRIPTION="PolyglotMan, a manual page translator formerly known as RosettaMan."
10 HOMEPAGE="http://polyglotman.sourceforge.net/"
11
12 DEPEND=""
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mtools
18
19 SRC_URI=(
20 sourceforge://polyglotman/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd_sourceforge polyglotman polyglotman - rman"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # fixup pathes in the Makefile
32 sed -i -e "s:^\(BINDIR =\).*:\1 /usr/bin:" \
33 -e "s:^\(MANDIR =\).*:\1 /usr/share/man/man1:" Makefile || die
34 }
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39 mmake || die
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45
46 minstallexec rman || die
47 minstallman rman.1 || die
48 }