Backport the simplification part of r532928 from wine-mono-devel and

use ${DISTNAME} instead of spelling it out repeatedly.
This commit is contained in:
Gerald Pfeifer 2020-05-07 07:19:05 +00:00
parent 8506f6baac
commit b81bb501d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534247

View file

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