Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 09:42:24 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Raghu HB <raghu.hb@avagotech.com>, Michelle Sullivan <michelle@sorbs.net>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Creating new port
Message-ID:  <5386E4E0.2030402@marino.st>
In-Reply-To: <c2b530a9ef459fb5376c4d9d21111bcd@mail.gmail.com>
References:  <cd7ad7c8eb71a187b377418d02519420@mail.gmail.com> <5385AFFA.7050206@sorbs.net> <bd5c3395f00ce16563c3cd4bede979f3@mail.gmail.com> <5385B992.60202@sorbs.net> <e22cdd3a804420f6be0996e1a9f9d764@mail.gmail.com> <5385C38A.1070400@sorbs.net> <c2b530a9ef459fb5376c4d9d21111bcd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/29/2014 09:22, Raghu HB wrote:
> Thanks Michelle for your time.
> 
> Neither your answers nor the link provide the details which I am looking
> for.

The links you have been given do contain the detail that you are looking
for.  As far as "example" ports go, there are 25,000 of them.  The
bottom line is: if you found Michelle's suggestion unhelpful, nobody can
help you I'm afraid.   You're going to get the same answers repeatedly.


John


> 
> Thanks,
> Raghu
> 
> -----Original Message-----
> From: Michelle Sullivan [mailto:michelle@sorbs.net]
> Sent: Wednesday, May 28, 2014 4:38 PM
> To: Raghu HB
> Cc: FreeBSD Ports ML
> Subject: Re: Creating new port
> 
> Raghu HB wrote:
>> Thanks Michelle,
>>
>> I copied the files in /usr/ports/sysutils/mrmonitor and ran the below
>> commands I encountered the same issue.
>>
> 
> Ok for starters - you only copy the Makefile that you are making for the
> port into there.
>> root@:/usr/ports/sysutils/mrmonitor # make distinfo
>> make: don't know how to make distinfo. Stop
>>
> This should not happen if you have a ports makefile there.. however it is
> possible you have forgotten something (like making the last line:
> .include <bsd.port.mk> )
> 
>> root@:/usr/ports/sysutils/mrmonitor # make makesum ===>  Found saved
>> configuration for mrmonitor-1.1 root@:/usr/ports/sysutils/mrmonitor #
>> make package ===>  Found saved configuration for mrmonitor-1.1
>>
>> I need to understand below things which is not explained in hand book.
>>
>> 1. Detailed steps for creating new port
>>
> This is what you need:
> http://www.freebsd.org/doc/en/books/porters-handbook/quick-porting.html#po
> rting-makefile
>> 2. Sample example for creating new port which nowhere available in the
>> web
>>
> The link above provides a simple sample.
>> 3. I have 10 files in a directory, I just need to create a package out
>> of that and provide the package to customers they can install it.
>>
> You can't do that - you need to make the distribution into a tarball that
> can be downloaded from a 'master site'
>> 4. I do not have to build anything I just need to create the port for
>> binaries.
>>
> 
> Yes, understood, do you have a makefile that will do this for you across
> other platforms?
>>
>> I have searched enough in the web nowhere I found the answer...
>> I think providing the files in tar format and script to deploy the
>> files will be more easier than this complicated port and packages.
>>
> 
> Well this is what the makefile will usually do for you...  (the Makefile
> can be considered a script or you can just get it to run your script).
> 
> Read the porters handbook - it's all there unless you are trying to get it
> to help you create the installation script that is in the tarball - which
> is not - it will tell you how to work with FreeBSD once you have a working
> installation.
>> Porters Handbook is here:
>> http://www.freebsd.org/doc/en/books/porters-handbook/
>>
> 
> Regards,
> 
> Michelle
> 
> --
> Michelle Sullivan
> http://www.mhix.org/
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 



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