diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-04 23:49:19 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-04 23:49:19 +0800 |
commit | 657d21bfd8c519b7c846f27c0688d7cb5078e9ff (patch) | |
tree | bbba303b77353e864eb07b39ca1ad7a744a91910 /deskutils/conkyforecast | |
parent | c4ac1b1e372f779407efa14f6358810295bd4dd6 (diff) | |
download | freebsd-ports-gnome-657d21bfd8c519b7c846f27c0688d7cb5078e9ff.tar.gz freebsd-ports-gnome-657d21bfd8c519b7c846f27c0688d7cb5078e9ff.tar.zst freebsd-ports-gnome-657d21bfd8c519b7c846f27c0688d7cb5078e9ff.zip |
1: Stagify.
2: use @fc.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'deskutils/conkyforecast')
-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%% |