diff options
author | bapt <bapt@FreeBSD.org> | 2014-12-25 09:17:03 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-12-25 09:17:03 +0800 |
commit | ba96e1cdca501dcda7679d3c8a07849661ae77e9 (patch) | |
tree | 33b6c9e9214241a7ed3df3b992c032ed4ec6e22d /Mk | |
parent | 7852a02c631eae566d7f90d064f83b886029b0cc (diff) | |
download | freebsd-ports-gnome-ba96e1cdca501dcda7679d3c8a07849661ae77e9.tar.gz freebsd-ports-gnome-ba96e1cdca501dcda7679d3c8a07849661ae77e9.tar.zst freebsd-ports-gnome-ba96e1cdca501dcda7679d3c8a07849661ae77e9.zip |
Use PLIST_FILES instead of defining a custom post-install target to prepare the
plist
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.xorg.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Mk/bsd.xorg.mk b/Mk/bsd.xorg.mk index ceeb88fbb7c3..3c17651e20af 100644 --- a/Mk/bsd.xorg.mk +++ b/Mk/bsd.xorg.mk @@ -104,14 +104,13 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale . endif -post-install: . for _fontdir in ${FONTDIR} . if ${INSTALLS_TTF} == yes && ${NEED_MKFONTFOO} == yes - @${ECHO_CMD} "@fcfontsdir lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fcfontsdir ${PREFIX}/lib/X11/fonts/${_fontdir}" . elif ${INSTALLS_TTF} == yes && ${NEED_MKFONTFOO} == no - @${ECHO_CMD} "@fc lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fc ${PREFIX}/lib/X11/fonts/${_fontdir}" . elif ${NEED_MKFONTFOO} == yes - @${ECHO_CMD} "@fontsdir lib/X11/fonts/${_fontdir}" >> ${TMPPLIST} +PLIST_FILES+= "@fontsdir ${PREFIX}lib/X11/fonts/${_fontdir}" . endif . endfor .endif |