svn commit: r381631 - head/x11-fonts/comic-neue

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 19 17:37:25 UTC 2015


Author: bapt
Date: Thu Mar 19 17:37:24 2015
New Revision: 381631
URL: https://svnweb.freebsd.org/changeset/ports/381631
QAT: https://qat.redports.org/buildarchive/r381631/

Log:
  Convert to USES=fonts

Modified:
  head/x11-fonts/comic-neue/Makefile
  head/x11-fonts/comic-neue/pkg-plist

Modified: head/x11-fonts/comic-neue/Makefile
==============================================================================
--- head/x11-fonts/comic-neue/Makefile	Thu Mar 19 17:35:29 2015	(r381630)
+++ head/x11-fonts/comic-neue/Makefile	Thu Mar 19 17:37:24 2015	(r381631)
@@ -2,6 +2,7 @@
 
 PORTNAME=	comic-neue
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	http://comicneue.com/
 
@@ -13,16 +14,11 @@ LICENSE_NAME=	CC0 1.0 Universal
 LICENSE_TEXT=	See http://creativecommons.org/publicdomain/zero/1.0/
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
-USES=		zip
+USES=		fonts zip
 NO_BUILD=	yes
 
-PLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
 FONTSDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
 SUB_FILES=	pkg-message
-SUB_LIST=	FONTSDIR=${FONTSDIR}
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
 do-install:

Modified: head/x11-fonts/comic-neue/pkg-plist
==============================================================================
--- head/x11-fonts/comic-neue/pkg-plist	Thu Mar 19 17:35:29 2015	(r381630)
+++ head/x11-fonts/comic-neue/pkg-plist	Thu Mar 19 17:37:24 2015	(r381631)
@@ -10,6 +10,3 @@
 %%FONTSDIR%%/ComicNeue-Light.ttf
 %%FONTSDIR%%/ComicNeue-Regular-Oblique.ttf
 %%FONTSDIR%%/ComicNeue-Regular.ttf
- at unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
- at dirrm %%FONTSDIR%%
- at exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true


More information about the svn-ports-head mailing list