summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man5/port-modules.528
1 files changed, 25 insertions, 3 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5
index 4ab62be2a51..76285af3e30 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.228 2018/02/24 21:22:44 kn Exp $
+.\" $OpenBSD: port-modules.5,v 1.229 2018/03/31 11:37:01 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: February 24 2018 $
+.Dd $Mdocdate: March 31 2018 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
@@ -1445,12 +1445,14 @@ is yes, or languages packs if
.Ev DRUPAL_LANG
is set to the desired language.
.Pp
-The module will set or add to default values for
+The module may set or add to default values for
.Ev HOMEPAGE ,
.Ev MASTER_SITES ,
.Ev PREFIX ,
+.Ev DISTNAME ,
.Ev DIST_SUBDIR ,
.Ev CATEGORIES ,
+.Ev PKGNAME ,
.Ev PKG_ARCH ,
.Ev WRKDIST ,
.Ev RUN_DEPENDS .
@@ -1479,6 +1481,26 @@ are set to root, daemon, since drupal doesn't need to write
to any file except the files/ directory and the site settings (those
belong to www instead).
.Pp
+Most modules are actually separate projects on the drupal site.
+If
+.Ev MODDRUPAL_PROJECT
+is set,
+.Ev HOMEPAGE
+will lead to the corresponding project.
+If
+.Ev MODDRUPAL_VERSION
+is also set,
+.Ev DISTNAME
+will default to
+.Pa ${MODDRUPAL_PROJECT}-7.x-${MODDRUPAL_VERSION} ,
+MODDRUPAL_PKGNAME
+will default to
+.Pa ${MODDRUPAL_PROJECT}
+and
+.Ev PKGNAME
+will default to
+.Pa drupal7-${MODDRUPAL_PKGNAME}-${MODDRUPAL_VERSION} .
+.Pp
Translations are handled by setting
.Ev DRUPAL_LANG
to the language letter code, and by setting