Annotation of /trunk/todo/indent/indent-2.2.9-r6.smage2
Parent Directory
|
Revision Log
Revision 2381 -
(hide annotations)
(download)
Thu Jul 9 19:48:26 2009 UTC (14 years, 11 months ago) by niro
File size: 1113 byte(s)
Thu Jul 9 19:48:26 2009 UTC (14 years, 11 months ago) by niro
File size: 1113 byte(s)
-moved to 'todo'
1 | niro | 2 | # $Header: /magellan-cvs/smage/indent/indent-2.2.9-r6.smage2,v 1.1 2008/03/20 12:17:10 niro Exp $ |
2 | |||
3 | PNAME="indent" | ||
4 | PVER="2.2.9" | ||
5 | PBUILD="r6" | ||
6 | |||
7 | PCATEGORIE="dev-util" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="The indent program can be used to make code easier to read." | ||
11 | HOMEPAGE="http://www.gnu.org/software/indent/indent.html" | ||
12 | |||
13 | DEPEND=">= virtual/glibc" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | gnu://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PVER}-deb-gentoo.patch | ||
24 | ) | ||
25 | |||
26 | src_prepare() | ||
27 | { | ||
28 | munpack ${SRCFILE} || die | ||
29 | cd ${SRCDIR} | ||
30 | |||
31 | # fixes some segfaults | ||
32 | mpatch ${PVER}-deb-gentoo.patch || die | ||
33 | |||
34 | # prevent regeneration of the man page | ||
35 | touch man/indent.1 || die | ||
36 | } | ||
37 | |||
38 | src_install() | ||
39 | { | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | # needed directories | ||
43 | minstalldir /usr/share/doc/${PNAME}-${PVER}/html || die | ||
44 | |||
45 | mmake DESTDIR=${BINDIR} install || die | ||
46 | minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog* NEWS README || die | ||
47 | |||
48 | # fix html doc location | ||
49 | mv ${BINDIR}/usr/doc/${PNAME}/* ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/html || die | ||
50 | rm -rf ${BINDIR}/usr/doc || die | ||
51 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |