Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 11:44:54 -0500
From:      Jim Riggs <freebsd-lists@christianserving.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Multiple subdirectories/sub-builds
Message-ID:  <A667B973-6850-46DD-AA84-8A63737A3059@christianserving.org>

next in thread | raw e-mail | index | archive | help
I am working on a new port that has several "sub-builds."  That is, the =
distfile has several subdirectories, each with its own =
configure/make/install.  Are there any best practices or suggestions for =
dealing with this scenario?  I didn't find anything in the handbook, and =
list searches didn't turn up anything (though I don't know what exactly =
to search for).

I know that I could do multiple slave ports and set WRKSRC for each of =
them, but I don't really want to clutter up ports/packages with a bunch =
of new slave ports which really don't apply standalone.

I suppose I could define do-(configure|build|install) to do configure, =
make, make install, respectively, in each of the subdirs.  This way, =
though, I would be losing a lot of the stuff that ports does for free =
(configure args, make args, etc.) unless I reproduce parts of =
bsd.port.mk.

Is there another way to do this gracefully?  Am I missing something =
obvious?  Any suggestions or ideas?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A667B973-6850-46DD-AA84-8A63737A3059>