Magellan Linux

Annotation of /trunk/core/man/man-1.6f-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3062 - (hide annotations) (download)
Wed Oct 7 21:31:06 2009 UTC (14 years, 8 months ago) by niro
File size: 2444 byte(s)
auto added: ver bump to 1.6f-r4
1 niro 3062 # $Header: /magellan-cvs/smage/man/man-1.6f-r2.smage2,v 1.1 2008/03/25 13:47:47 niro Exp $
2    
3     PNAME="man"
4     PVER="1.6f"
5     PBUILD="r4"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="Standard commands to read man pages."
11     HOMEPAGE="http://freshmeat.net/projects/man/"
12    
13     DEPEND=">= virtual/glibc"
14     SDEPEND=">= sys-apps/sed-4"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     http://primates.ximian.com/~flucifredi/${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/man-1.6f-unicode.patch
25     mirror://${PNAME}/man-1.5m2-apropos.patch
26     mirror://${PNAME}/man-1.5p-defmanpath-symlinks.patch
27     mirror://${PNAME}/man-1.5p-search-order.patch
28     mirror://${PNAME}/man-1.6b-more-sections.patch
29     mirror://${PNAME}/man-1.6c-cut-duplicate-manpaths.patch
30     mirror://${PNAME}/man-1.6e-headers.patch
31     mirror://${PNAME}/man-1.6e-man2html-bzip2.patch
32     mirror://${PNAME}/man-1.6e-readonly-whatis2.patch
33     mirror://${PNAME}/makewhatis.cron
34     )
35    
36     UP2DATE="updatecmd http://primates.ximian.com/~flucifredi/man | firsttarball gz"
37    
38     src_prepare()
39     {
40     munpack ${SRCFILE} || die
41     cd ${SRCDIR}
42    
43     # unicode fixups
44     mpatch man-1.6f-unicode.patch || die
45     # fix the look of some man pages on some locales
46     mpatch man-1.5m2-apropos.patch || die
47     # fix man pathes; some of them are symlinks and
48     # it is not neccessary to process them twice
49     mpatch man-1.5p-defmanpath-symlinks.patch || die
50     # fix the search order that system man-pages will be found first
51     mpatch man-1.5p-search-order.patch || die
52     # add more sections to respect xorg man pages
53     mpatch man-1.6b-more-sections.patch || die
54     # remove duplicate man pathes when they are symlinked
55     mpatch man-1.6c-cut-duplicate-manpaths.patch || die
56     # fixed some missing headers
57     mpatch man-1.6e-headers.patch || die
58     # add bzip2 support to man2html
59     mpatch man-1.6e-man2html-bzip2.patch || die
60    
61     # adds the -R switch to the PAGER variable
62     sed -i 's@-is@&R@g' configure || die
63    
64     # forces the use of ${CFLAGS}
65     sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" man2html/Makefile.in || die
66    
67     # prevents redundant results when using programs such as whatis
68     sed -i 's@MANPATH./usr/man@#&@g' src/man.conf.in || die
69     }
70    
71     src_compile()
72     {
73     cd ${SRCDIR}
74    
75     ./configure -default -confdir=/etc || die
76     mmake || die
77     }
78    
79     src_install()
80     {
81     cd ${SRCDIR}
82     make PREFIX=${BINDIR} install || die
83     minstallcron daily makewhatis.cron makewhatis || die
84     minstalldocs COPYING HISTORY README TODO || die
85     }

Properties

Name Value
svn:keywords Id