summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-12-09 08:47:03 +0000
committerobrien <obrien@FreeBSD.org>1996-12-09 08:47:03 +0000
commit6e20bfde1e5dc085f3ca93716d130460ecfc796a (patch)
tree862585a2f9885b92d5dbdc517809548cec570ebd /share
parentc5d8f7d87a9777a83a60e8caaa84213ec58a3d7c (diff)
downloadFreeBSD-src-6e20bfde1e5dc085f3ca93716d130460ecfc796a.zip
FreeBSD-src-6e20bfde1e5dc085f3ca93716d130460ecfc796a.tar.gz
Added explation of REQ package script.
Diffstat (limited to 'share')
-rw-r--r--share/doc/handbook/porting.sgml14
1 files changed, 12 insertions, 2 deletions
diff --git a/share/doc/handbook/porting.sgml b/share/doc/handbook/porting.sgml
index 0d52f38..a245f58 100644
--- a/share/doc/handbook/porting.sgml
+++ b/share/doc/handbook/porting.sgml
@@ -1,4 +1,4 @@
-<!-- $Id: porting.sgml,v 1.46 1996/12/09 07:38:56 obrien Exp $ -->
+<!-- $Id: porting.sgml,v 1.47 1996/12/09 08:24:03 obrien Exp $ -->
<!-- The FreeBSD Documentation Project -->
<sect1><heading>Porting an existing piece of free software<label id="porting"></heading>
@@ -988,13 +988,23 @@ MAN8= baz.8
`<tt>&dollar;2</tt>' can be tested to determine which mode
the script is being run in.
The `<tt>PKG_PREFIX</tt>' environmental variable will be set to
- the package installation directory.
+ the package installation directory. See man <tt>pkg_add(1)</tt>
+ for additional information.
Note, that this script is not run automatically if you install
the port with `<tt>make install</tt>'. If you are depending
on it being run, you will have to explicitly call it on your
port's Makefile.
<sect3>
+ <heading>REQ package script</heading>
+ <p>If your needs to determine if it should install or not, you
+ can create a pkg/REQ ``requirements'' script. It will be invoked
+ automatically at installation/deinstallation time to determine
+ whether or not installation/deinstallation should proceed.
+ See man <tt>pkg_create(1)</tt> and man <tt>pkg_add(1)</tt> for
+ more information.
+
+ <sect3>
<heading>Install additional documentation</heading>
<p>If your software has some documentation other than the
OpenPOWER on IntegriCloud