Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 00:50:27 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <r.c.ladan@gmail.com>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        "ports@FreeBSD.org" <ports@freebsd.org>, Kevin Oberman <rkoberman@gmail.com>, Dimitry Andric <dim@freebsd.org>, Florent Thoumie <flz@freebsd.org>
Subject:   Re: ports/math/hexcalc restored from 8.2 now runs on 9.1 & 9.2 & 10.0
Message-ID:  <CADL2u4hiq%2BfLUS7Bamdb0kuC-fxotMJRChbRh8GoDU_JjpeL9Q@mail.gmail.com>
In-Reply-To: <201401301506.s0UF5vop073258@fire.js.berklix.net>
References:  <CADL2u4j7tx3We__mzs9mPJKH9KhUVuCvUmy4yixVdSesQ=icyw@mail.gmail.com> <201401301506.s0UF5vop073258@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-01-30 Julian H. Stacey <jhs@berklix.com>:
> =3D?ISO-8859-1?Q?Ren=3DE9_Ladan?=3D wrote:
>> 2014-01-30 Kevin Oberman <rkoberman@gmail.com>:
>> > On Wed, Jan 29, 2014 at 7:04 PM, Julian H. Stacey <jhs@berklix.com> wr=
ote:
>> >
>> >> Hi ports@
>> >> I changed Subject:
>> >>  From:
>> >>   Re: How to find removed ports in general & math/hexcalc in particul=
ar.
>> >>  To:
>> >>   ports/math/hexcalc restored from 8.2 now runs on 9.1 & 9.2 & 10.0
>> >>
>> >> + cc'd FYI Maintainer of x11/xcalc (a scientific not hexadecimal
>> >> calculator)
>> >>
>> >>
>> >> > grep hexcalc /usr/ports/MOVED
>> >> > math/hexcalc||2011-08-01|Has expired: Looks like abandonware, no mo=
re
>> >> public distfiles
>> >> >
>> >> > I have a local:
>> >> >       25129 Dec 20  1995 hexcalc..tar.Z
>> >> > (no idea why 2 dots), anyway its a valid tar.  I have put it up her=
e
>> >> >       http://berklix.com/~jhs/ftp/FreeBSD/ports/distfiles/hexcalc..=
tar.Z
>> >> > I'll look at creating a port.  (unless people know of a newer
>> >> > nice hexcalc ? but this one was always OK for me)
>> >>
>> Can you fix the filename to just have one dot and preferably a version n=
umber?
>> >>
>> >> I have restored ports/math/hexcalc from 8.2; it now runs on 9.1 & 9.2=
 &
>> >> 10.0
>> >>
>> >> http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/math/hexc=
alc/
>> >>
>> >> Anyone know what to fix for 10.0 Mk/ ?  After installing it bleats:
>> >>   =3D=3D=3D>   Registering installation for hexcalc-1.11_2
>> >>   pkg-static:
>> >> lstat(/usr1/release/10.0-RELEASE/ports/math/hexcalc/work/stage/usr/lo=
cal/bin/hexcalc):
>> >> No such file or directory
>> >>   pkg-static:
>> >> lstat(/usr1/release/10.0-RELEASE/ports/math/hexcalc/work/stage/usr/lo=
cal/man/man1/hexcalc.1.gz):
>> >> No such file or directory
>> >
>> > Quick workaround is to turn off staging for the port.  It needs fixing=
, but
>> > that will let it build immediately. Add the following to the Makefile:
>> > NO_STAGE=3D      yes
>>
>> You cannot anymore, since this is now forbidden by a SVN hook.
>>
>> The proper way (just having a quick look) is to install into
>> ${STAGEDIR}${PREFIX}/bin and ${STAGEDIR}${MANPREFIX}/man/man1
>> (although you might have to replace MANPREFIX with just PREFIX, not sure=
)
>>
>> Ren=E9
>
> Thanks Kevin & Rene'
> I added ${STAGEDIR}, & tested, MANPREFIX =3D PREFIX so I left MANPREFIX.
>
> http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/math/hexcalc/=
All.tgz
>
> Is ready for download & use. Could 1 or 2 people please try, & post
> eg "Works for me", I guess that will be sufficient to commit it,
> as it's the same distfile FreeBSD ports/ used before, that went
> missing, & was found again.
>
Works for me ;)

I did some editing to Makefile to get it (mostly) pass portlint, the main c=
hange
is that I removed "x11" from CATEGORIES, which is reserved for Xorg itself =
if
I understand correctly.

> All.tgz was made by
>         tar zcf /tmp/All.tgz . ; mv /tmp/All.tgz .
> so you have a single 28K file to encourage download & test,
> its contents even include the distfile:
>         hexcalc.tar.Z
>         Makefile
>         distinfo
>         files/
>         files/patch-a
>         pkg-descr
>
Regards,
Ren=E9

> Cheers,
> Julian
> --
> Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix=
.com
>  Interleave replies below like a play script.  Indent old text with "> ".
>  Send plain text, not quoted-printable, HTML, base64, or multipart/altern=
ative.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4hiq%2BfLUS7Bamdb0kuC-fxotMJRChbRh8GoDU_JjpeL9Q>