summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2010-10-01 21:56:00 +0000
committerjasper <jasper@openbsd.org>2010-10-01 21:56:00 +0000
commit2ba3d95fdb961117d59dc689dbc908d21cb1e7e6 (patch)
tree84207ade338c9c66b1efe2460080945b26bdfd7f
parent* need a space before .No even if it starts with a closing delimiter (diff)
downloadwireguard-openbsd-2ba3d95fdb961117d59dc689dbc908d21cb1e7e6.tar.xz
wireguard-openbsd-2ba3d95fdb961117d59dc689dbc908d21cb1e7e6.zip
- document new MODCPAN_MODULES
feedback and ok espie@
-rw-r--r--share/man/man5/port-modules.517
1 files changed, 15 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5
index ff167813c1d..8525035e247 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.67 2010/09/26 08:00:56 jasper Exp $
+.\" $OpenBSD: port-modules.5,v 1.68 2010/10/01 21:56:00 jasper 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: September 26 2010 $
+.Dd $Mdocdate: October 1 2010 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
@@ -343,6 +343,19 @@ to locate the right directory.
User settings: set CPAN_REPORT to Yes, CPAN_REPORT_DB to a valid directory,
and CPAN_REPORT_FROM to a valid email address to automate the reporting
of regress tests to CPAN.
+.Pp
+If MODCPAN_EXAMPLES is set, the following variables will be set.
+MODCPAN_EXAMPLES_DIST will hold the default directory in the distfile with
+example scripts.
+MODCPAN_EXAMPLES_DIR will be set to the standard installation directory for
+examples.
+Sets the post-install target if none has been defined to install the examples,
+otherwise MODCPAN_POST_INSTALL should be used as such:
+.Bd -literal
+post-install:
+ ...
+ ${MODCPAN_POST_INSTALL}
+.Ed
.It devel/cmake
.It devel/gconf2
A link from