Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2020 12:52:55 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553901 - in head/x11-fonts: xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-cyrillic xorg-fonts-miscbitmaps xorg-fonts-truetype xorg-fonts-type1
Message-ID:  <202011021252.0A2CqtKK079932@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Mon Nov  2 12:52:55 2020
New Revision: 553901
URL: https://svnweb.freebsd.org/changeset/ports/553901

Log:
  x11-fonts/xorg-fonts-*: Simplify RUN_DEPENDS
  
  It's better to require packages instead of files here.
  
  Also, this allows us to remove the local variable
  which is no longer used (FONTDIR).
  
  Reported by:	mat
  Reviewed by:	bapt
  Approved by:	x11 (bapt)
  Differential Revision:	https://reviews.freebsd.org/D27053

Modified:
  head/x11-fonts/xorg-fonts-100dpi/Makefile
  head/x11-fonts/xorg-fonts-75dpi/Makefile
  head/x11-fonts/xorg-fonts-cyrillic/Makefile
  head/x11-fonts/xorg-fonts-miscbitmaps/Makefile
  head/x11-fonts/xorg-fonts-truetype/Makefile
  head/x11-fonts/xorg-fonts-type1/Makefile

Modified: head/x11-fonts/xorg-fonts-100dpi/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-100dpi/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-100dpi/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -8,15 +8,13 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org 100dpi bitmap fonts
 
-RUN_DEPENDS=	${FONTDIR}/100dpi/courB08.pcf.gz:x11-fonts/font-adobe-100dpi \
-		${FONTDIR}/100dpi/UTBI__10.pcf.gz:x11-fonts/font-adobe-utopia-100dpi \
-		${FONTDIR}/100dpi/luBIS08.pcf.gz:x11-fonts/font-bh-100dpi \
-		${FONTDIR}/100dpi/lutBS08.pcf.gz:x11-fonts/font-bh-lucidatypewriter-100dpi \
-		${FONTDIR}/100dpi/charB08.pcf.gz:x11-fonts/font-bitstream-100dpi \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings
+RUN_DEPENDS=	font-adobe-100dpi>0:x11-fonts/font-adobe-100dpi \
+		font-adobe-utopia-100dpi>0:x11-fonts/font-adobe-utopia-100dpi \
+		font-bh-100dpi>0:x11-fonts/font-bh-100dpi \
+		font-bh-lucidatypewriter-100dpi>0:x11-fonts/font-bh-lucidatypewriter-100dpi \
+		font-bitstream-100dpi>0:x11-fonts/font-bitstream-100dpi \
+		encodings>0:x11-fonts/encodings
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/xorg-fonts-75dpi/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-75dpi/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-75dpi/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -8,15 +8,13 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org 75dpi bitmap fonts
 
-RUN_DEPENDS=	${FONTDIR}/75dpi/courB08.pcf.gz:x11-fonts/font-adobe-75dpi \
-		${FONTDIR}/75dpi/UTBI__10.pcf.gz:x11-fonts/font-adobe-utopia-75dpi \
-		${FONTDIR}/75dpi/luBIS08.pcf.gz:x11-fonts/font-bh-75dpi \
-		${FONTDIR}/75dpi/lutBS08.pcf.gz:x11-fonts/font-bh-lucidatypewriter-75dpi \
-		${FONTDIR}/75dpi/charB08.pcf.gz:x11-fonts/font-bitstream-75dpi \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings
+RUN_DEPENDS=	font-adobe-75dpi>0:x11-fonts/font-adobe-75dpi \
+		font-adobe-utopia-75dpi>0:x11-fonts/font-adobe-utopia-75dpi \
+		font-bh-75dpi>0:x11-fonts/font-bh-75dpi \
+		font-bh-lucidatypewriter-75dpi>0:x11-fonts/font-bh-lucidatypewriter-75dpi \
+		font-bitstream-75dpi>0:x11-fonts/font-bitstream-75dpi \
+		encodings>0:x11-fonts/encodings
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/xorg-fonts-cyrillic/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-cyrillic/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-cyrillic/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -8,14 +8,12 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org Cyrillic bitmap fonts
 
-RUN_DEPENDS=	${FONTDIR}/cyrillic/crox1c.pcf.gz:x11-fonts/font-cronyx-cyrillic \
-		${FONTDIR}/cyrillic/koi12x24.pcf.gz:x11-fonts/font-misc-cyrillic \
-		${FONTDIR}/cyrillic/screen8x16.pcf.gz:x11-fonts/font-screen-cyrillic \
-		${FONTDIR}/cyrillic/proof9x16.pcf.gz:x11-fonts/font-winitzki-cyrillic \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings
+RUN_DEPENDS=	font-cronyx-cyrillic>0:x11-fonts/font-cronyx-cyrillic \
+		font-misc-cyrillic>0:x11-fonts/font-misc-cyrillic \
+		font-screen-cyrillic>0:x11-fonts/font-screen-cyrillic \
+		font-winitzki-cyrillic>0:x11-fonts/font-winitzki-cyrillic \
+		encodings>0:x11-fonts/encodings
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/xorg-fonts-miscbitmaps/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-miscbitmaps/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-miscbitmaps/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -8,22 +8,20 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org miscellaneous bitmap fonts
 
-RUN_DEPENDS=	${FONTDIR}/misc/arabic24.pcf.gz:x11-fonts/font-arabic-misc \
-		${FONTDIR}/misc/cursor.pcf.gz:x11-fonts/font-cursor-misc \
-		${FONTDIR}/misc/hanglg16.pcf.gz:x11-fonts/font-daewoo-misc \
-		${FONTDIR}/misc/deccurs.pcf.gz:x11-fonts/font-dec-misc \
-		${FONTDIR}/misc/gb16fs.pcf.gz:x11-fonts/font-isas-misc \
-		${FONTDIR}/misc/jiskan16.pcf.gz:x11-fonts/font-jis-misc \
-		${FONTDIR}/misc/micro.pcf.gz:x11-fonts/font-micro-misc \
-		${FONTDIR}/misc/10x20-ISO8859-1.pcf.gz:x11-fonts/font-misc-misc \
-		${FONTDIR}/misc/cu-alt12.pcf.gz:x11-fonts/font-mutt-misc \
-		${FONTDIR}/misc/clB6x10.pcf.gz:x11-fonts/font-schumacher-misc \
-		${FONTDIR}/misc/12x24.pcf.gz:x11-fonts/font-sony-misc \
-		${FONTDIR}/misc/olcursor.pcf.gz:x11-fonts/font-sun-misc \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings
+RUN_DEPENDS=	font-arabic-misc>0:x11-fonts/font-arabic-misc \
+		font-cursor-misc>0:x11-fonts/font-cursor-misc \
+		font-daewoo-misc>0:x11-fonts/font-daewoo-misc \
+		font-dec-misc>0:x11-fonts/font-dec-misc \
+		font-isas-misc>0:x11-fonts/font-isas-misc \
+		font-jis-misc>0:x11-fonts/font-jis-misc \
+		font-micro-misc>0:x11-fonts/font-micro-misc \
+		font-misc-misc>0:x11-fonts/font-misc-misc \
+		font-mutt-misc>0:x11-fonts/font-mutt-misc \
+		font-schumacher-misc>0:x11-fonts/font-schumacher-misc \
+		font-sony-misc>0:x11-fonts/font-sony-misc \
+		font-sun-misc>0:x11-fonts/font-sun-misc \
+		encodings>0:x11-fonts/encodings
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/xorg-fonts-truetype/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-truetype/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-truetype/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -9,14 +9,12 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org TrueType fonts
 
-RUN_DEPENDS=	${FONTDIR}/TTF/luximb.ttf:x11-fonts/font-bh-ttf \
-		${FONTDIR}/OTF/SyrCOMAdiabene.otf:x11-fonts/font-misc-meltho \
-		${FONTDIR}/TTF/GohaTibebZemen.ttf:x11-fonts/font-misc-ethiopic \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings \
-		${FONTDIR}/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
+RUN_DEPENDS=	font-bh-ttf>0:x11-fonts/font-bh-ttf \
+		font-misc-meltho>0:x11-fonts/font-misc-meltho \
+		font-misc-ethiopic>0:x11-fonts/font-misc-ethiopic \
+		encodings>0:x11-fonts/encodings \
+		dejavu>0:x11-fonts/dejavu
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/xorg-fonts-type1/Makefile
==============================================================================
--- head/x11-fonts/xorg-fonts-type1/Makefile	Mon Nov  2 12:49:36 2020	(r553900)
+++ head/x11-fonts/xorg-fonts-type1/Makefile	Mon Nov  2 12:52:55 2020	(r553901)
@@ -8,15 +8,13 @@ CATEGORIES=	x11-fonts
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org Type1 fonts
 
-RUN_DEPENDS=	${FONTDIR}/Type1/UTBI____.afm:x11-fonts/font-adobe-utopia-type1 \
-		${FONTDIR}/Type1/l047013t.afm:x11-fonts/font-bh-type1 \
-		${FONTDIR}/Type1/c0419bt_.afm:x11-fonts/font-bitstream-type1 \
-		${FONTDIR}/Type1/cour.afm:x11-fonts/font-ibm-type1 \
-		${FONTDIR}/Type1/cursor.pfa:x11-fonts/font-xfree86-type1 \
-		${FONTDIR}/encodings/encodings.dir:x11-fonts/encodings
+RUN_DEPENDS=	font-adobe-utopia-type1>0:x11-fonts/font-adobe-utopia-type1 \
+		font-bh-type1>0:x11-fonts/font-bh-type1 \
+		font-bitstream-type1>0:x11-fonts/font-bitstream-type1 \
+		font-ibm-type1>0:x11-fonts/font-ibm-type1 \
+		font-xfree86-type1>0:x11-fonts/font-xfree86-type1 \
+		encodings>0:x11-fonts/encodings
 
 USES=		metaport
-
-FONTDIR=	${LOCALBASE}/share/fonts
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011021252.0A2CqtKK079932>