Annotation of /trunk/deprecated/rman/rman-3.2-r7.smage2
Parent Directory | Revision Log
Revision 10030 -
(hide annotations)
(download)
Mon Jan 16 10:03:36 2012 UTC (12 years, 8 months ago) by niro
Original Path: trunk/core/rman/rman-3.2-r7.smage2
File size: 777 byte(s)
Mon Jan 16 10:03:36 2012 UTC (12 years, 8 months ago) by niro
Original Path: trunk/core/rman/rman-3.2-r7.smage2
File size: 777 byte(s)
-import from magellan-next
1 | niro | 8381 | # $Id:$ |
2 | |||
3 | PNAME="rman" | ||
4 | PVER="3.2" | ||
5 | PBUILD="r7" | ||
6 | |||
7 | niro | 10030 | PCAT="app-text" |
8 | niro | 8381 | |
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 | } |