aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-22 09:27:35 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-22 09:27:35 +0000
commitaf3d602e707750780f4e77b376eb6764fa40dfa8 (patch)
treee474ca034707e0938acda36758b73293679d2b28 /games
parent467925b81be502ad8c3ac021d83cb21ca430914b (diff)
downloadports-af3d602e707750780f4e77b376eb6764fa40dfa8.tar.gz
ports-af3d602e707750780f4e77b376eb6764fa40dfa8.zip
Add staging support
Notes
Notes: svn path=/head/; revision=351781
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