Contents of /trunk/core/groff/groff-1.19.2-r4.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1969 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1969 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/groff/groff-1.19.2-r4.smage2,v 1.2 2008/03/25 13:42:26 niro Exp $ |
2 | |
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 |
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 |