1 |
blueness 13/08/02 12:19:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plan9port-20130801.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.20 dev-util/plan9port/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/plan9port/ChangeLog?rev=1.20&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/plan9port/ChangeLog?rev=1.20&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/plan9port/ChangeLog?r1=1.19&r2=1.20 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/plan9port/ChangeLog,v |
20 |
retrieving revision 1.19 |
21 |
retrieving revision 1.20 |
22 |
diff -u -r1.19 -r1.20 |
23 |
--- ChangeLog 20 Jul 2013 11:07:45 -0000 1.19 |
24 |
+++ ChangeLog 2 Aug 2013 12:19:50 -0000 1.20 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-util/plan9port |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/ChangeLog,v 1.19 2013/07/20 11:07:45 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/ChangeLog,v 1.20 2013/08/02 12:19:50 blueness Exp $ |
30 |
+ |
31 |
+*plan9port-20130801 (02 Aug 2013) |
32 |
+ |
33 |
+ 02 Aug 2013; Anthony G. Basile <blueness@g.o> |
34 |
+ +plan9port-20130801.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
*plan9port-20130718 (20 Jul 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/plan9port/plan9port-20130801.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/plan9port/plan9port-20130801.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/plan9port/plan9port-20130801.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: plan9port-20130801.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130801.ebuild,v 1.1 2013/08/02 12:19:50 blueness Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="Port of many Plan 9 programs and libraries" |
58 |
HOMEPAGE="http://swtch.com/plan9port/" |
59 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz" |
60 |
|
61 |
LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="X" |
65 |
|
66 |
DEPEND="X? ( x11-apps/xauth )" |
67 |
RDEPEND="${DEPEND}" |
68 |
|
69 |
S="${WORKDIR}/${PN}" |
70 |
|
71 |
PLAN9=/usr/lib/plan9 |
72 |
|
73 |
src_prepare() |
74 |
{ |
75 |
epatch "${FILESDIR}/${PN}-"{9660srv-errno,noexecstack,cflags,builderr}".patch" |
76 |
|
77 |
# Fix paths, done in place of ./INSTALL -c |
78 |
einfo "Fixing hard-coded /usr/local/plan9 paths" |
79 |
grep --null -l -r '/usr/local/plan9' | |
80 |
xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g" |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
if ! use X; then |
85 |
echo "WSYSTYPE=nowsys" >> LOCAL.config |
86 |
fi |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
# Convert -j5 to NPROC=5 for mk |
91 |
export NPROC="$(echo "$MAKEOPTS" | sed -r -n 's/.*(^| )-j([0-9]*).*/\2/p')" |
92 |
|
93 |
# The INSTALL script builds mk then [re]builds everything using that |
94 |
einfo "Compiling Plan 9 from User Space can take a very long time" |
95 |
einfo "depending on the speed of your computer. Please be patient!" |
96 |
./INSTALL -b |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
dodir "${PLAN9}" |
101 |
|
102 |
# P9P's man does not handle compression |
103 |
docompress -x $PLAN9/man |
104 |
|
105 |
# do* plays with the executable bit, and we should not modify them |
106 |
cp -a * "${D}/${PLAN9}" |
107 |
|
108 |
# build the environment variables and install them in env.d |
109 |
cat > "${T}/30plan9" <<-EOF |
110 |
PLAN9="${PLAN9}" |
111 |
PATH="${PLAN9}/bin" |
112 |
ROOTPATH="${PLAN9}/bin" |
113 |
MANPATH="${PLAN9}/man" |
114 |
EOF |
115 |
doenvd "${T}/30plan9" |
116 |
} |
117 |
|
118 |
pkg_postinst() { |
119 |
elog "Plan 9 from User Space has been successfully installed into" |
120 |
elog "${PLAN9}. Your PLAN9 and PATH environment variables have" |
121 |
elog "also been appropriately set, please use env-update and" |
122 |
elog "source /etc/profile to bring that into immediate effect." |
123 |
elog |
124 |
elog "Please note that ${PLAN9}/bin has been appended to the" |
125 |
elog "*end* or your PATH to prevent conflicts. To use the Plan9" |
126 |
elog "versions of common UNIX tools, use the absolute path:" |
127 |
elog "${PLAN9}/bin or the 9 command (eg: 9 troff)" |
128 |
elog |
129 |
elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port." |
130 |
} |