Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 02:26:52 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        =?ISO-8859-1?Q?Ren=E9_Ladan?= <r.c.ladan@gmail.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:  <201401310127.s0V1QqUM056352@fire.js.berklix.net>
In-Reply-To: Your message "Fri, 31 Jan 2014 00:50:27 %2B0100." <CADL2u4hiq%2BfLUS7Bamdb0kuC-fxotMJRChbRh8GoDU_JjpeL9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=?ISO-8859-1?Q?Ren=E9_Ladan?= wrote:
> 2014-01-30 Julian H. Stacey <jhs@berklix.com>:
> > =?ISO-8859-1?Q?Ren=E9_Ladan?= wrote:
> >> 2014-01-30 Kevin Oberman <rkoberman@gmail.com>:
> >> > On Wed, Jan 29, 2014 at 7:04 PM, Julian H. Stacey <jhs@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 ;)

Great, thanks.


> I did some editing to Makefile to get it (mostly) pass portlint,

Ah, ports-mgmt/portlint, new to me, just installed it.


> the main change
> is that I removed "x11" from CATEGORIES, which is reserved for Xorg itself if
> I understand correctly.

OK, I just guessed x11 might be a useful indicator when I added it,
so I've removed it.  I also removed md5 from distinfo as portlint complained.


> > 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é

portlint is still very noisey, I'll try more, but if youve
managed a fairly quiet Makefile, I'd appreciate a copy, thanks.

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401310127.s0V1QqUM056352>