Lines 15-21
Link Here
|
15 |
LICENSE="MIT" |
15 |
LICENSE="MIT" |
16 |
SLOT="5" |
16 |
SLOT="5" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
18 |
IUSE="bootstrap build debug doc gpm minimal nocxx profile trace unicode" |
18 |
IUSE="ada bootstrap build debug doc gpm minimal nocxx profile trace unicode" |
19 |
|
19 |
|
20 |
DEPEND="gpm? ( sys-libs/gpm )" |
20 |
DEPEND="gpm? ( sys-libs/gpm )" |
21 |
|
21 |
|
Lines 42-48
Link Here
|
42 |
# build in bootstrap.sh. |
42 |
# build in bootstrap.sh. |
43 |
local myconf="" |
43 |
local myconf="" |
44 |
( use build || use bootstrap || use nocxx ) \ |
44 |
( use build || use bootstrap || use nocxx ) \ |
45 |
&& myconf="${myconf} --without-cxx --without-cxx-binding --without-ada" |
45 |
&& myconf="${myconf} --without-cxx --without-cxx-binding" |
46 |
|
46 |
|
47 |
# First we build the regular ncurses ... |
47 |
# First we build the regular ncurses ... |
48 |
mkdir "${WORKDIR}"/narrowc |
48 |
mkdir "${WORKDIR}"/narrowc |
Lines 55-60
Link Here
|
55 |
cd "${WORKDIR}"/widec |
55 |
cd "${WORKDIR}"/widec |
56 |
do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw |
56 |
do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw |
57 |
fi |
57 |
fi |
|
|
58 |
|
59 |
if use ada ; then |
60 |
# install libAdaCurses.a (the narrow version only) |
61 |
dolib.a "${WORKDIR}"/narrowc/Ada95/src/libAdaCurses.a || die "install error" |
62 |
|
63 |
# and the adacurses-config file: |
64 |
newbin ${FILESDIR}/ncurses-5.5-adacurses-config adacurses-config || die "install error" |
65 |
fi |
66 |
|
58 |
} |
67 |
} |
59 |
do_compile() { |
68 |
do_compile() { |
60 |
ECONF_SOURCE=${S} |
69 |
ECONF_SOURCE=${S} |
Lines 79-84
Link Here
|
79 |
$(use_with gpm) \ |
88 |
$(use_with gpm) \ |
80 |
--disable-termcap \ |
89 |
--disable-termcap \ |
81 |
--enable-symlinks \ |
90 |
--enable-symlinks \ |
|
|
91 |
$(use_with ada) \ |
82 |
--with-rcs-ids \ |
92 |
--with-rcs-ids \ |
83 |
--with-manpage-format=normal \ |
93 |
--with-manpage-format=normal \ |
84 |
--enable-const \ |
94 |
--enable-const \ |
Lines 149-154
Link Here
|
149 |
cd "${S}" |
159 |
cd "${S}" |
150 |
dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc |
160 |
dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc |
151 |
use doc && dohtml -r doc/html/ |
161 |
use doc && dohtml -r doc/html/ |
|
|
162 |
|
163 |
if use ada ; then |
164 |
# install libAdaCurses.a (the narrow version only) |
165 |
dolib.a "${WORKDIR}"/narrowc/Ada95/src/libAdaCurses.a || die "install error" |
166 |
|
167 |
# and the adacurses-config file: |
168 |
newbin ${FILESDIR}/ncurses-5.5-adacurses-config adacurses-config || die "install error" |
169 |
fi |
152 |
} |
170 |
} |
153 |
|
171 |
|
154 |
pkg_preinst() { |
172 |
pkg_preinst() { |