ports/math/hexcalc restored from 8.2 now runs on 9.1 & 9.2 & 10.0

René Ladan r.c.ladan at gmail.com
Thu Jan 30 23:50:28 UTC 2014


2014-01-30 Julian H. Stacey <jhs at berklix.com>:
> =?ISO-8859-1?Q?Ren=E9_Ladan?= wrote:
>> 2014-01-30 Kevin Oberman <rkoberman at gmail.com>:
>> > On Wed, Jan 29, 2014 at 7:04 PM, Julian H. Stacey <jhs at berklix.com> wrote:
>> >
>> >> Hi ports@
>> >> I changed Subject:
>> >>  From:
>> >>   Re: How to find removed ports in general & math/hexcalc in particular.
>> >>  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 more
>> >> 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 here
>> >> >       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 number?
>> >>
>> >> 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/hexcalc/
>> >>
>> >> Anyone know what to fix for 10.0 Mk/ ?  After installing it bleats:
>> >>   ===>   Registering installation for hexcalc-1.11_2
>> >>   pkg-static:
>> >> lstat(/usr1/release/10.0-RELEASE/ports/math/hexcalc/work/stage/usr/local/bin/hexcalc):
>> >> No such file or directory
>> >>   pkg-static:
>> >> lstat(/usr1/release/10.0-RELEASE/ports/math/hexcalc/work/stage/usr/local/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=      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é
>
> Thanks Kevin & Rene'
> I added ${STAGEDIR}, & tested, MANPREFIX = 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 change
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é

> 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/alternative.


More information about the freebsd-ports mailing list