Cant get new port Makefile to work

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jul 17 12:57:27 UTC 2010


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 at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100717/28b0c5c9/signature.pgp


More information about the freebsd-ports mailing list