Annotation of /trunk/core/groff/groff-1.19.2-r4.smage2
Parent Directory | Revision Log
Revision 80 -
(hide annotations)
(download)
Tue Oct 14 08:53:22 2008 UTC (15 years, 7 months ago) by niro
File size: 2081 byte(s)
Tue Oct 14 08:53:22 2008 UTC (15 years, 7 months ago) by niro
File size: 2081 byte(s)
-added up2date URI
1 | niro | 2 | # $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 | niro | 80 | UP2DATE="updatecmd http://ftp.gnu.org/gnu/${PNAME}/|grep tar.gz$|sed 's/.*-\(.*\)\.t.*/\1/'|sort|sed -n '$ p'" |
35 | |||
36 | niro | 2 | src_prepare() |
37 | { | ||
38 | munpack ${SRCFILE} || die | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # fix the info pages to have .info extensions, | ||
42 | # else they do not get gzipped | ||
43 | mpatch ${PNAME}-${PVER}-infoext.patch || die | ||
44 | |||
45 | # do not depend on netpbm | ||
46 | mpatch ${PNAME}-${PVER}-no-netpbm-depend.patch || die | ||
47 | |||
48 | # make dashes the same as minus on the keyboard so that you | ||
49 | # can search for it | ||
50 | mpatch ${PNAME}-${PVER}-man-unicode-dashes.patch || die | ||
51 | |||
52 | # fix compile issues with gcc-4.1 | ||
53 | mpatch ${PNAME}-1.19.1-gcc-4.1.patch || die | ||
54 | } | ||
55 | |||
56 | src_compile() | ||
57 | { | ||
58 | cd ${SRCDIR} | ||
59 | |||
60 | # do not use mconfigure, this package is broken | ||
61 | # and do not use the parallel-make patch from gentoo, its broken too!! | ||
62 | PAGE=${GROFFPAGE} ./configure \ | ||
63 | --prefix=/usr \ | ||
64 | --libdir='${prefix}'/$(mlibdir) \ | ||
65 | --without-x || die | ||
66 | |||
67 | mmake -j1 || die | ||
68 | } | ||
69 | |||
70 | src_install() | ||
71 | { | ||
72 | cd ${SRCDIR} | ||
73 | |||
74 | # needed directories | ||
75 | minstalldir /usr || die | ||
76 | |||
77 | make prefix=${BINDIR}/usr install || die | ||
78 | |||
79 | mlink soelim /usr/bin/zsoelim || die | ||
80 | mlink eqn /usr/bin/geqn || die | ||
81 | mlink tbl /usr/bin/gtbl || die | ||
82 | |||
83 | minstalldocs BUG-REPORT COPYING ChangeLog FDL LICENSE MANIFEST MORE.STUFF \ | ||
84 | NEWS PROBLEMS PROJECTS README REVISION TODO VERSION || die | ||
85 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |