diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-05-11 11:42:15 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-05-11 11:42:15 +0000 |
commit | 10c5a9057205c438bdc431709e0204d0d89aa453 (patch) | |
tree | 88e272f5b5dd5b34e2d4b66d74287d69be75a8ad /x11-fonts/comfortaa-ttf | |
parent | 0eada0507b894e02ba1b0356dee2acafa646a01f (diff) | |
download | ports-10c5a9057205c438bdc431709e0204d0d89aa453.tar.gz ports-10c5a9057205c438bdc431709e0204d0d89aa453.zip |
Notes
Diffstat (limited to 'x11-fonts/comfortaa-ttf')
-rw-r--r-- | x11-fonts/comfortaa-ttf/Makefile | 22 | ||||
-rw-r--r-- | x11-fonts/comfortaa-ttf/files/pkg-message.in | 8 | ||||
-rw-r--r-- | x11-fonts/comfortaa-ttf/pkg-plist | 4 |
3 files changed, 4 insertions, 30 deletions
diff --git a/x11-fonts/comfortaa-ttf/Makefile b/x11-fonts/comfortaa-ttf/Makefile index 555efe130b37..1d352ec15189 100644 --- a/x11-fonts/comfortaa-ttf/Makefile +++ b/x11-fonts/comfortaa-ttf/Makefile @@ -2,7 +2,7 @@ PORTNAME= comfortaa-ttf PORTVERSION= 2.004 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fonts MASTER_SITES= http://openfontlibrary.org/assets/downloads/comfortaa/38318a69b56162733bf82bc0170b7521/ DISTNAME= comfortaa @@ -12,29 +12,15 @@ COMMENT= Stylish, modern and free sans-serif true type font LICENSE= OFL11 -BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale - USES= zip FONTDIR= lib/X11/fonts/Comfortaa -PKGMESSAGE= ${WRKDIR}/pkg-message +NO_BUILD= yes PLIST_SUB= FONTDIR=${FONTDIR} -SUB_FILES= pkg-message -SUB_LIST= FONTDIR=${FONTDIR} WRKSRC= ${WRKDIR}/Comfortaa -NO_STAGE= yes -do-build: - @cd ${WRKSRC}/ && \ - ${LOCALBASE}/bin/mkfontscale && \ - ${LOCALBASE}/bin/mkfontdir - do-install: - ${MKDIR} ${PREFIX}/${FONTDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/ - -post-install: - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${PREFIX}/${FONTDIR}/ .include <bsd.port.mk> diff --git a/x11-fonts/comfortaa-ttf/files/pkg-message.in b/x11-fonts/comfortaa-ttf/files/pkg-message.in deleted file mode 100644 index 798a45125c89..000000000000 --- a/x11-fonts/comfortaa-ttf/files/pkg-message.in +++ /dev/null @@ -1,8 +0,0 @@ - -You can start using the fonts by following these instructions: - -Add the following line to the "Files" section of your X.org configuration -file: - - FontPath "%%PREFIX%%/%%FONTDIR%%/" - diff --git a/x11-fonts/comfortaa-ttf/pkg-plist b/x11-fonts/comfortaa-ttf/pkg-plist index f8a6f60cfa1e..0a9e529ba3f5 100644 --- a/x11-fonts/comfortaa-ttf/pkg-plist +++ b/x11-fonts/comfortaa-ttf/pkg-plist @@ -1,8 +1,4 @@ %%FONTDIR%%/Comfortaa-Bold.ttf %%FONTDIR%%/Comfortaa-Light.ttf %%FONTDIR%%/Comfortaa-Regular.ttf -%%FONTDIR%%/fonts.dir -%%FONTDIR%%/fonts.scale -@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true @dirrm %%FONTDIR%% -@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTDIR%% || /usr/bin/true |