aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-25 09:17:03 +0800
committerbapt <bapt@FreeBSD.org>2014-12-25 09:17:03 +0800
commitba96e1cdca501dcda7679d3c8a07849661ae77e9 (patch)
tree33b6c9e9214241a7ed3df3b992c032ed4ec6e22d /Mk
parent7852a02c631eae566d7f90d064f83b886029b0cc (diff)
downloadfreebsd-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.mk7
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