-.\" $OpenBSD: bsd.port.mk.5,v 1.494 2018/08/04 09:01:56 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.495 2018/09/04 13:57:46 espie Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
.\" (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: August 4 2018 $
+.Dd $Mdocdate: September 4 2018 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
Do not override without very good reasons,
namely software that coexist as different incompatible versions with the
same stem, e.g., already a mess.
+.It Ev PKGSTEM
+Base for the package name without any version number.
+Used in
+.Pa READMEs
+file names and actual contents, can be overridden for ports
+with branches, like php, e.g.,
+.Li PKGSTEM-main = php-5.6
.It Ev PLIST_DB
Deprecated, see
.Ev PLIST_REPOSITORY .
.Ev MACHINE_ARCH ,
.Ev MAINTAINER ,
.Ev PREFIX ,
+.Ev PKGSTEM ,
.Ev RCDIR ,
.Ev SYSCONFDIR ,
.Ev TRUEPREFIX ,
.It Pa ${PKGDIR}/README
.Ox
specific documentation for a port, that will be installed as
-.Pa ${LOCALBASE}/share/doc/pkg-readmes/${FULLPKGNAME}
+.Pa ${LOCALBASE}/share/doc/pkg-readmes/${PKGSTEM}
at the end of
.Cm fake .
Variables from
.Ev PERMIT_PACKAGE_CDROM ,
.Ev PKGFILE ,
.Ev PKGNAME ,
+.Ev PKGSTEM ,
.Ev FULLPKGNAME ,
.Ev REVISION ,
.Ev EPOCH ,