Annotation of /smage/trunk/core/groff/groff-1.19.2-r4.smage2
Parent Directory | Revision Log
Revision 6 -
(hide annotations)
(download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 4 months ago) by niro
File size: 1883 byte(s)
Sun Jan 11 01:07:49 2009 UTC (15 years, 4 months ago) by niro
File size: 1883 byte(s)
-fixed old cvs headers
1 | niro | 6 | # $Id$ |
2 | niro | 3 | |
3 | PNAME="groff" | ||
4 | PVER="1.19.2" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Text formatter used for man pages." | ||
11 | HOMEPAGE="http://www.gnu.org/software/groff/groff.html" | ||
12 | |||
13 | DEPEND=">= virtual/glibc | ||
14 | >= sys-apps/texinfo-4.0" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | # defines default page layout, may become a virtual | ||
20 | # -> groff-A4, groff-letter = virtual/groff etc | ||
21 | GROFFPAGE=A4 | ||
22 | |||
23 | sminclude mtools alx | ||
24 | |||
25 | SRC_URI=( | ||
26 | gnu://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-infoext.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-no-netpbm-depend.patch | ||
30 | mirror://${PNAME}/${PNAME}-${PVER}-man-unicode-dashes.patch | ||
31 | mirror://${PNAME}/${PNAME}-1.19.1-gcc-4.1.patch | ||
32 | ) | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # fix the info pages to have .info extensions, | ||
40 | # else they do not get gzipped | ||
41 | mpatch ${PNAME}-${PVER}-infoext.patch || die | ||
42 | |||
43 | # do not depend on netpbm | ||
44 | mpatch ${PNAME}-${PVER}-no-netpbm-depend.patch || die | ||
45 | |||
46 | # make dashes the same as minus on the keyboard so that you | ||
47 | # can search for it | ||
48 | mpatch ${PNAME}-${PVER}-man-unicode-dashes.patch || die | ||
49 | |||
50 | # fix compile issues with gcc-4.1 | ||
51 | mpatch ${PNAME}-1.19.1-gcc-4.1.patch || die | ||
52 | } | ||
53 | |||
54 | src_compile() | ||
55 | { | ||
56 | cd ${SRCDIR} | ||
57 | |||
58 | # do not use mconfigure, this package is broken | ||
59 | # and do not use the parallel-make patch from gentoo, its broken too!! | ||
60 | PAGE=${GROFFPAGE} ./configure \ | ||
61 | --prefix=/usr \ | ||
62 | --libdir='${prefix}'/$(mlibdir) \ | ||
63 | --without-x || die | ||
64 | |||
65 | mmake -j1 || die | ||
66 | } | ||
67 | |||
68 | src_install() | ||
69 | { | ||
70 | cd ${SRCDIR} | ||
71 | |||
72 | # needed directories | ||
73 | minstalldir /usr || die | ||
74 | |||
75 | make prefix=${BINDIR}/usr install || die | ||
76 | |||
77 | mlink soelim /usr/bin/zsoelim || die | ||
78 | mlink eqn /usr/bin/geqn || die | ||
79 | mlink tbl /usr/bin/gtbl || die | ||
80 | |||
81 | minstalldocs BUG-REPORT COPYING ChangeLog FDL LICENSE MANIFEST MORE.STUFF \ | ||
82 | NEWS PROBLEMS PROJECTS README REVISION TODO VERSION || die | ||
83 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |