147b603e32
In order to have subpackages we need in the end do-package to depend on a target per package that would be created per subpackages For this we need to decouple the content of do-package so it becomes a target that only creates the packages. As a first step use natural make(1) mechanism for a target: if checks first for the existence of a file and it it does not exists that execute the content of the target, in that case it creates the PKGREPOSITORY Bonus it simplifies a bit the code. While here to avoid testing multiple time for the PACKAGES directory set a variable after we tested it the first time PR: 216877 Approved by: portmgr (mat) Reviewed by: mat exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D9466 |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
bsd.apache.mk | ||
bsd.autotools.mk | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.emacs.mk | ||
bsd.fpc.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.local.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.options.desc.mk | ||
bsd.options.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.qt.mk | ||
bsd.ruby.mk | ||
bsd.sanity.mk | ||
bsd.sdl.mk | ||
bsd.sites.mk | ||
bsd.ssp.mk | ||
bsd.tex.mk | ||
bsd.wx.mk | ||
bsd.xorg.mk |