1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Fix up @fc for traditional pkg_add/pkg_create systems,

using @exec/@unexec fc-cache -s %%PREFIX%%/%%FONTDIR%% and @dirrmtry.

Approved by:	portmgr (blanket "just fix it" approval)
This commit is contained in:
Matthias Andree 2014-06-12 00:09:51 +00:00
parent 5fd5208ed1
commit cdc7d1e0fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357549
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= urwfonts-ttf
PORTVERSION= 1.0.7b18
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-fonts
MASTER_SITES= ftp://ftp.izmiran.rssi.ru/pub/fonts/urw/
DISTNAME= urw-fonts-${PORTVERSION:S/b/pre/}-ttf

View File

@ -36,4 +36,6 @@
%%FONTDIR%%/p052024l.ttf
%%FONTDIR%%/s050000l.ttf
%%FONTDIR%%/z003034l.ttf
@fc %%FONTDIR%%
@unexec fc-cache -s %%PREFIX%%/%%FONTDIR%% || :
@exec fc-cache -s %%PREFIX%%/%%FONTDIR%% || :
@dirrmtry %%FONTDIR%%