aboutsummaryrefslogtreecommitdiff
path: root/deskutils/conkyforecast
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-04 15:49:19 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-04 15:49:19 +0000
commit0296e57dc1961a7b0955b8e9207b0ce7b74da609 (patch)
treebbba303b77353e864eb07b39ca1ad7a744a91910 /deskutils/conkyforecast
parent6acc56d7fb8b272b07b89a1eba08def14cb69b32 (diff)
downloadports-0296e57dc1961a7b0955b8e9207b0ce7b74da609.tar.gz
ports-0296e57dc1961a7b0955b8e9207b0ce7b74da609.zip
Notes
Diffstat (limited to 'deskutils/conkyforecast')
-rw-r--r--deskutils/conkyforecast/Makefile9
-rw-r--r--deskutils/conkyforecast/pkg-plist4
2 files changed, 3 insertions, 10 deletions
diff --git a/deskutils/conkyforecast/Makefile b/deskutils/conkyforecast/Makefile
index a4bef49d024f..51dc9599429f 100644
--- a/deskutils/conkyforecast/Makefile
+++ b/deskutils/conkyforecast/Makefile
@@ -29,7 +29,6 @@ FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
WRKSRC= ${WRKDIR}/src
-NO_STAGE= yes
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
setup.py \
@@ -49,11 +48,7 @@ post-patch:
@cd ${WRKSRC} && ${RM} -fr test/*.bak example/*.bak
post-install:
- @${MKDIR} ${FONTSDIR}
- @${INSTALL_DATA} ${WRKSRC}/fonts/* ${FONTSDIR}
- @${ECHO_MSG} "===> Running fc-cache"
- -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
- @${ECHO_MSG}
- ${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/deskutils/conkyforecast/pkg-plist b/deskutils/conkyforecast/pkg-plist
index 21cab200682c..083a4946f1ca 100644
--- a/deskutils/conkyforecast/pkg-plist
+++ b/deskutils/conkyforecast/pkg-plist
@@ -230,6 +230,4 @@ bin/conkyForecast-SunsetSunriseCountdown
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/example
@dirrm %%DATADIR%%
-@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
-@dirrm %%FONTSDIR%%
-@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true
+@fc %%FONTSDIR%%