Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Dec 2007 21:05:33 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        GP <godpost@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: HELP needed by experienced porter for simple review
Message-ID:  <op.t2sivjam9aq2h7@mezz.mezzweb.com>
In-Reply-To: <001c01c835f6$8165ab90$6300000a@pi>
References:  <002401c8352b$9ba33750$6300000a@pi> <op.t2qe8ivm9aq2h7@mezz.mezzweb.com> <001c01c835f6$8165ab90$6300000a@pi>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 03 Dec 2007 15:50:21 -0600, GP <godpost@gmail.com> wrote:

> Thanks a lot!
>
> I have as you sugested, but have a problems:
>
>>>  $(MKDIR) $(FILESDIR)
>>> $(CP) ${WRKSRC}/kissdx.in ${FILESDIR}
>>
>> I don't really like to create FILESDIR and move from WRKSRC to  =

>> FILESDIR. The WRKDIR/WRKSRC are the place where you work anything  =

>> inside. However, move from WRKSRC to FILESDIR might create problem in=
  =

>> future so avoid that.
>
> When I leve it out I get this error:
> =3D=3D=3D>  Installing for kissdx-0.13.10a
> ** Missing /usr/ports/distfiles/files/kissdx.in for kissdx-0.13.10a.
> *** Error code 1

Ummm... I went back to see your first orignal thread. I noticed that you=
  =

put Makefile and others in /usr/ports/distfiles/? You should create  =

'kissdx' and 'kissdx/files' (mkdir -p kissdx/files) directories. You  =

should make your port looks like this:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
kissdx/
kissdx/Makefile
kissdx/distinfo
kissdx/pkg-descr
kissdx/pkg-message
kissdx/files/
kissdx/files/kissdx.in
kissdx/files/<patch files>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

You should follow this below:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scr=
ipts.html

You put your 'kissdx.in' in kissdx/files/ and it will doing every thing =
 =

for you as explained in rc-scripts.html.

>> I think that's all for now. Most of answers are in the porter handboo=
k.
>
> You are probably right. I read it first of cause. But its not very eas=
y  =

> to understand, if you havent worked with porting before.
> (The are almost no examples in it.)

That's ok, you can check in other ports to get good examples. One more  =

that I have noticed. The 'do-install: all' should be change to  =

'do-install:' without have 'all' in it. Hope it helps.

Cheers,
Mezz

> BR Simon


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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