Contents of /branches/branch-xorg18/core/groff/groff-1.20.1-r2.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1682 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1682 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="groff" |
4 | PVER="1.20.1" |
5 | PBUILD="r2" |
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}-no-netpbm-depend.patch |
29 | mirror://${PNAME}/${PNAME}-1.19.2-man-unicode-dashes.patch |
30 | ) |
31 | |
32 | UP2DATE="updatecmd http://ftp.gnu.org/gnu/${PNAME}/|grep tar.gz$|sed 's/.*-\(.*\)\.t.*/\1/'|sort|sed -n '$ p'" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # do not depend on netpbm |
40 | mpatch ${PNAME}-${PVER}-no-netpbm-depend.patch || die |
41 | |
42 | # make dashes the same as minus on the keyboard so that you |
43 | # can search for it |
44 | mpatch ${PNAME}-1.19.2-man-unicode-dashes.patch || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | # do not use mconfigure, this package is broken |
52 | # and do not use the parallel-make patch from gentoo, its broken too!! |
53 | PAGE=${GROFFPAGE} ./configure \ |
54 | --prefix=/usr \ |
55 | --libdir='${prefix}'/$(mlibdir) \ |
56 | --without-x || die |
57 | |
58 | mmake -j1 || die |
59 | } |
60 | |
61 | src_install() |
62 | { |
63 | cd ${SRCDIR} |
64 | |
65 | # needed directories |
66 | minstalldir /usr || die |
67 | |
68 | make prefix=${BINDIR}/usr install || die |
69 | |
70 | mlink soelim /usr/bin/zsoelim || die |
71 | mlink eqn /usr/bin/geqn || die |
72 | mlink tbl /usr/bin/gtbl || die |
73 | |
74 | minstalldocs BUG-REPORT COPYING ChangeLog FDL LICENSE MANIFEST MORE.STUFF \ |
75 | NEWS PROBLEMS PROJECTS README REVISION TODO VERSION || die |
76 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |