svn commit: r375503 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Thu Dec 25 01:17:05 UTC 2014


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


More information about the svn-ports-head mailing list