svn commit: r351781 - head/games/tuxpaint-fonts

Pawel Pekala pawel at FreeBSD.org
Tue Apr 22 09:27:36 UTC 2014


Author: pawel
Date: Tue Apr 22 09:27:35 2014
New Revision: 351781
URL: http://svnweb.freebsd.org/changeset/ports/351781
QAT: https://qat.redports.org/buildarchive/r351781/

Log:
  Add staging support

Modified:
  head/games/tuxpaint-fonts/Makefile

Modified: head/games/tuxpaint-fonts/Makefile
==============================================================================
--- head/games/tuxpaint-fonts/Makefile	Tue Apr 22 09:26:32 2014	(r351780)
+++ head/games/tuxpaint-fonts/Makefile	Tue Apr 22 09:27:35 2014	(r351781)
@@ -47,7 +47,6 @@ MASTER_SITES+=	SF/${PORTNAME}/${PORTNAME
 # Do not use the same OPTIONS directory as "games/tuxpaint".
 LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 # Set DISTFILES and PLIST_FILES according to OPTIONS.
@@ -63,16 +62,16 @@ PLIST_DIRS+=	%%DATADIR%%/fonts/locale/${
 
 # Install seleted fonts.
 do-install:
-	${MKDIR} ${DATADIR}/fonts/locale
+	@${MKDIR} ${STAGEDIR}${DATADIR}/fonts/locale
 .for l in ${LANGS}
 .	if ${PORT_OPTIONS:M${l:U}}
 		${INSTALL_DATA} \
 			${WRKSRC}/${PORTNAME}-ttf-${${l:U}_DISTNAME}/${${l:U}_CODE}.ttf \
-			${DATADIR}/fonts/locale
-		${MKDIR} ${DATADIR}/fonts/locale/${${l:U}_CODE}_docs
+			${STAGEDIR}${DATADIR}/fonts/locale
+		@${MKDIR} ${STAGEDIR}${DATADIR}/fonts/locale/${${l:U}_CODE}_docs
 		${INSTALL_DATA} \
 			${WRKSRC}/${PORTNAME}-ttf-${${l:U}_DISTNAME}/*.txt \
-			${DATADIR}/fonts/locale/${${l:U}_CODE}_docs
+			${STAGEDIR}${DATADIR}/fonts/locale/${${l:U}_CODE}_docs
 .	endif
 .endfor
 


More information about the svn-ports-head mailing list