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