diff options
-rw-r--r-- | deskutils/conkyforecast/Makefile | 9 | ||||
-rw-r--r-- | deskutils/conkyforecast/pkg-plist | 4 |
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%% |