Date: Thu, 25 Dec 2014 01:17:04 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375503 - head/Mk Message-ID: <201412250117.sBP1H4E4067049@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Dec 25 01:17:03 2014 New Revision: 375503 URL: https://svnweb.freebsd.org/changeset/ports/375503 QAT: https://qat.redports.org/buildarchive/r375503/ Log: Use PLIST_FILES instead of defining a custom post-install target to prepare the plist Modified: head/Mk/bsd.xorg.mk Modified: head/Mk/bsd.xorg.mk ============================================================================== --- head/Mk/bsd.xorg.mk Thu Dec 25 01:14:54 2014 (r375502) +++ head/Mk/bsd.xorg.mk Thu Dec 25 01:17:03 2014 (r375503) @@ -104,14 +104,13 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412250117.sBP1H4E4067049>