Contents of /trunk/deprecated/rman/rman-3.2-r7.smage2
Parent Directory | Revision Log
Revision 8381 -
(show annotations)
(download)
Fri Jul 15 11:14:04 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/rman/rman-3.2-r7.smage2
File size: 783 byte(s)
Fri Jul 15 11:14:04 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/rman/rman-3.2-r7.smage2
File size: 783 byte(s)
auto added: ver bump to 3.2-r7
1 | # $Id:$ |
2 | |
3 | PNAME="rman" |
4 | PVER="3.2" |
5 | PBUILD="r7" |
6 | |
7 | PCATEGORIE="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 | } |