aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-22 17:27:35 +0800
committerpawel <pawel@FreeBSD.org>2014-04-22 17:27:35 +0800
commitc398cdf35449be066d0de9425d20a582c140cb1b (patch)
treee474ca034707e0938acda36758b73293679d2b28 /games
parenta988276fe5f66e0bb8dd17c8def55151d37493ad (diff)
downloadfreebsd-ports-gnome-c398cdf35449be066d0de9425d20a582c140cb1b.tar.gz
freebsd-ports-gnome-c398cdf35449be066d0de9425d20a582c140cb1b.tar.zst
freebsd-ports-gnome-c398cdf35449be066d0de9425d20a582c140cb1b.zip
Add staging support
Diffstat (limited to 'games')
-rw-r--r--games/tuxpaint-fonts/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/tuxpaint-fonts/Makefile b/games/tuxpaint-fonts/Makefile
index 4bafcee2dd35..a08d0ef51d00 100644
--- a/games/tuxpaint-fonts/Makefile
+++ b/games/tuxpaint-fonts/Makefile
@@ -47,7 +47,6 @@ MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-fonts/${${l:U}_DISTNAME}:${l:U}
# 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/${${l:U}_CODE}_docs
# 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