svn commit: r381653 - head/x11-fonts/mgopen

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 19 18:14:52 UTC 2015


Author: bapt
Date: Thu Mar 19 18:14:50 2015
New Revision: 381653
URL: https://svnweb.freebsd.org/changeset/ports/381653
QAT: https://qat.redports.org/buildarchive/r381653/

Log:
  Convert to USES=fonts

Modified:
  head/x11-fonts/mgopen/Makefile
  head/x11-fonts/mgopen/pkg-plist

Modified: head/x11-fonts/mgopen/Makefile
==============================================================================
--- head/x11-fonts/mgopen/Makefile	Thu Mar 19 18:13:40 2015	(r381652)
+++ head/x11-fonts/mgopen/Makefile	Thu Mar 19 18:14:50 2015	(r381653)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mgopen
 PORTVERSION=	1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-fonts
 MASTER_SITES=	http://pub.ellak.gr/fonts/${PORTNAME}/files/
 DISTNAME=	MgOpen
@@ -11,16 +11,13 @@ DISTNAME=	MgOpen
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	MgOpen greek fonts collection
 
-BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-RUN_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+USES=		fonts
 
 NO_BUILD=	yes
 
 FONTSDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
-PLIST_SUB=	FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
 
 SUB_FILES=	pkg-message
-SUB_LIST=	FONTSDIR=${FONTSDIR}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${FONTSDIR}

Modified: head/x11-fonts/mgopen/pkg-plist
==============================================================================
--- head/x11-fonts/mgopen/pkg-plist	Thu Mar 19 18:13:40 2015	(r381652)
+++ head/x11-fonts/mgopen/pkg-plist	Thu Mar 19 18:14:50 2015	(r381653)
@@ -14,6 +14,3 @@
 %%FONTSDIR%%/MgOpenModernaBoldOblique.ttf
 %%FONTSDIR%%/MgOpenModernaOblique.ttf
 %%FONTSDIR%%/MgOpenModernaRegular.ttf
- at unexec 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