summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-12-31 09:18:47 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-12-31 09:18:47 +0000
commit42115cbf10fdcb232e54dba1cc0f03c3e55e44e2 (patch)
tree726ef0155a78c05d0a29447d2a9db63340737db1
parent3e55c04af84c5bb1d4f1585f0a00901c2819e2c7 (diff)
document post-install hooks
-rw-r--r--share/man/man5/port-modules.514
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5
index 0f4ae699065..0694fd21d69 100644
--- a/share/man/man5/port-modules.5
+++ b/share/man/man5/port-modules.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: port-modules.5,v 1.146 2012/11/19 12:23:23 espie Exp $
+.\" $OpenBSD: port-modules.5,v 1.147 2012/12/31 09:18:46 espie Exp $
.\"
.\" Copyright (c) 2008 Marc Espie
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 19 2012 $
+.Dd $Mdocdate: December 31 2012 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
@@ -196,6 +196,16 @@ behavior.
.Pp
This can occasionnally be used for ports that require some specific
fake installation setup that will be provided by runtime dependencies.
+.It Ar install
+There is a
+.Ar post-install
+hook that can be activated by defining
+.Ev MODFOO_post-install
+This will be invoked at the end of
+.Ar install ,
+right after the normal
+.Ar post-install
+behavior.
.El
.Sh OVERRIDING VARIABLE BEHAVIOR
Some variables can be overridden by modules.