From: Matthew Seaman on
On 17/07/2010 12:26:51, Joe wrote:
> The above is my port source in a net shell.
> What i really want is to have just the scripts sources to be fetched
> from remote site
> on "make install" of the port.
>
> Can anyone recommend, based on the above Makefile, some ports I should
> look at as being
> a good example of a port makefile for small amount of files that require
> no compiling, that I could use as a template?

Given you already have the bits that download the script tarball etc.,
take a look at ports-mgmt/portmaster -- this installs a script, a manual
page and optionally some other items. Plus it's by Doug Barton, so you
can be pretty certain the port is written to a very high standard.

The biggest difference you'll see is that your script sources will be
unpacked into ${WRKSRC} rather than installed from ${FILESDIR}

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW

From: Doug Barton on
On Sat, 17 Jul 2010, Matthew Seaman wrote:

> Given you already have the bits that download the script tarball etc.,
> take a look at ports-mgmt/portmaster -- this installs a script, a manual
> page and optionally some other items. Plus it's by Doug Barton, so you
> can be pretty certain the port is written to a very high standard.

Thank you very much for the kind words, it's nice to know that some
people around here think well of me. :)

But seriously folks, credit where it's due, I cribbed almost all of that
from marcus via ports-mgmt/portlint.


Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Joe on
Doug Barton wrote:
> On Sat, 17 Jul 2010, Matthew Seaman wrote:
>
>> Given you already have the bits that download the script tarball etc.,
>> take a look at ports-mgmt/portmaster -- this installs a script, a manual
>> page and optionally some other items. Plus it's by Doug Barton, so you
>> can be pretty certain the port is written to a very high standard.
>
> Thank you very much for the kind words, it's nice to know that some
> people around here think well of me. :)
>
> But seriously folks, credit where it's due, I cribbed almost all of that
> from marcus via ports-mgmt/portlint.
>
>
> Doug
>
Reviewed the portlint and portmaster port Makefiles and they both have
the source files provided as part of the port. I have this method
already working. Need to change to method where the source files have to
be fetched from remote site.

Looking for template of that method.


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On Sun, 18 Jul 2010, Joe wrote:

> Reviewed the portlint and portmaster port Makefiles and they both have the
> source files provided as part of the port. I have this method already
> working. Need to change to method where the source files have to be fetched
> from remote site.
>
> Looking for template of that method.

Look at the other 20,000 ports as examples? :) You can also read the
porter's handbook.


Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on

On Sat, 17 Jul 2010 21:26, Doug Barton wrote:
In Message-Id: <alpine.BSF.2.00.1007171825560.71202(a)qbhto.arg>

> On Sun, 18 Jul 2010, Joe wrote:
>
>> Reviewed the portlint and portmaster port Makefiles and they both have the
>> source files provided as part of the port. I have this method already
>> working. Need to change to method where the source files have to be fetched
>> from remote site.
>>
>> Looking for template of that method.
>
> Look at the other 20,000 ports as examples? :) You can also read the
> porter's handbook.
>

Have it download the new copy from per-say,
http://svn.freebsd.org/base/users/dougb/portmaster/release/portmaster.sh ?

;)

--

jhell

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"