diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-21 17:14:15 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-21 17:14:15 +0800 |
commit | 9afdaaa83e7a0ecbe04090afed7d3f463adf05ef (patch) | |
tree | 4ba96723b140ebbfd72ac6fdb0db0f6cf145b4f4 /x11-fonts/cantarell-fonts | |
parent | c6d49d910241f03cccb962dc603d8508f7ba9b72 (diff) | |
download | marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar.gz marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar.bz2 marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar.lz marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar.xz marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.tar.zst marcuscom-ports-9afdaaa83e7a0ecbe04090afed7d3f463adf05ef.zip |
Correct CATEGORIE so portmaster doesn't error out.
Run fc-cache on install. Not sure if more is needed.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15518 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts/cantarell-fonts')
-rw-r--r-- | x11-fonts/cantarell-fonts/Makefile | 8 | ||||
-rw-r--r-- | x11-fonts/cantarell-fonts/pkg-plist | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/x11-fonts/cantarell-fonts/Makefile b/x11-fonts/cantarell-fonts/Makefile index 2043458cd..9901ce736 100644 --- a/x11-fonts/cantarell-fonts/Makefile +++ b/x11-fonts/cantarell-fonts/Makefile @@ -7,7 +7,8 @@ PORTNAME= cantarell-fonts PORTVERSION= 0.0.4 -CATEGORIES= fonts gnome +PORTREVISION= 1 +CATEGORIES= x11-fonts gnome MASTER_SITES= GNOME MAINTAINER= kwm@FreeBSD.org @@ -18,9 +19,14 @@ LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig USE_GNOME= pkgconfig USE_GMAKE= yes GNU_CONFIGURE= yes +FONTSDIR= share/fonts/cantarell +PLIST_SUB= FONTSDIR=${FONTSDIR} post-patch: @${REINPLACE_CMD} -e 's|(datadir)/fontconfig/conf.avail/|(prefix)/etc/fonts/conf.avail/|g' \ ${WRKSRC}/fontconfig/Makefile.in +post-install: + @${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR} + .include <bsd.port.mk> diff --git a/x11-fonts/cantarell-fonts/pkg-plist b/x11-fonts/cantarell-fonts/pkg-plist index 87cd9feee..8086f08df 100644 --- a/x11-fonts/cantarell-fonts/pkg-plist +++ b/x11-fonts/cantarell-fonts/pkg-plist @@ -1,3 +1,5 @@ etc/fonts/conf.avail/31-cantarell.conf share/fonts/cantarell/Cantarell-Bold.otf share/fonts/cantarell/Cantarell-Regular.otf +@exec %D/bin/fc-cache -f -v %D/%%FONTSDIR%% +@dirrm share/fonts/cantarell |