Backport r520775 | gerald | 2019-12-24 from emulators/wine-gecko-devel:

Use DISTNAME in two cases instead of replicating its definition.
  That'll also ease maintenance going forward.
This commit is contained in:
Gerald Pfeifer 2020-01-23 08:40:39 +00:00
parent f6b0f3aa49
commit f4063c339f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523908

View File

@ -22,11 +22,11 @@ CONFLICTS_INSTALL= wine-gecko-devel-[0-9]*
NO_BUILD= yes
PLIST_SUB+= GECKO_VERSION="${DISTVERSION}"
DATADIR= ${PREFIX}/share/wine
PLIST_FILES= ${DATADIR}/gecko/wine_gecko-${DISTVERSION}-x86.msi
PLIST_FILES= ${DATADIR}/gecko/${DISTNAME}.msi
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/gecko
${INSTALL_DATA} ${DISTDIR}/wine_gecko-${DISTVERSION}-x86.msi \
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \
${STAGEDIR}${DATADIR}/gecko
.include <bsd.port.mk>