Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2015 19:05:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381768 - head/arabic/ae_fonts_ttf
Message-ID:  <201503201905.t2KJ5dtp000439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Mar 20 19:05:38 2015
New Revision: 381768
URL: https://svnweb.freebsd.org/changeset/ports/381768
QAT: https://qat.redports.org/buildarchive/r381768/

Log:
  Convert to USES=fonts
  Remove useless subdirectories
  Remove useless options

Modified:
  head/arabic/ae_fonts_ttf/Makefile
  head/arabic/ae_fonts_ttf/pkg-plist

Modified: head/arabic/ae_fonts_ttf/Makefile
==============================================================================
--- head/arabic/ae_fonts_ttf/Makefile	Fri Mar 20 19:04:04 2015	(r381767)
+++ head/arabic/ae_fonts_ttf/Makefile	Fri Mar 20 19:05:38 2015	(r381768)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ae_fonts1_ttf
 PORTVERSION=	1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	arabic x11-fonts
 MASTER_SITES=	SF/arabeyes/Fonts/ae_fonts
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -13,47 +13,15 @@ COMMENT=	Collection of TrueType Arabic f
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
-
-USES=		tar:bzip2
+USES=		fonts tar:bzip2
 WRKSRC=		${WRKDIR}/ae_fonts1-${PORTVERSION}
 SUB_FILES=	pkg-message
+NO_BUILD=	yes
 
-OPTIONS_DEFINE=	AAHS AGA FS KASR MCS SHMOOKH
-OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
-
-AAHS_DESC=	Install the AAHS font set
-AGA_DESC=	Install the AGA font set
-FS_DESC=	Install the FS font set
-KASR_DESC=	Install the Kasr font set
-MCS_DESC=	Install the MCS font set
-SHMOOKH_DESC=	Install the Shmookh font set
-
-.include <bsd.port.options.mk>
-
-.for font in AAHS AGA FS MCS
-.  if ${PORT_OPTIONS:M${font}}
-FONTS+=	${font}
-.  endif
-.endfor
-
-.for font in KASR SHMOOKH
-.  if ${PORT_OPTIONS:M${font}}
-FONTS+=	${font:C/(.).*/\1/}${font:tl:C/.//}
-.  endif
-.endfor
-
-do-build:
-.for font in ${FONTS}
-	cd ${WRKSRC} && ttmkfdir -c -d ${WRKSRC}/${font} > \
-		${WRKSRC}/${font}/fonts.dir
-.endfor
+FONTNAME=	ae_fonts1
 
 do-install:
-.for font in ${FONTS}
-	@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/X11/fonts/ae_fonts1/${font}
-	${INSTALL_DATA} ${WRKSRC}/${font}/* \
-		${STAGEDIR}/${PREFIX}/lib/X11/fonts/ae_fonts1/${font}
-.endfor
+	@${MKDIR} ${STAGEDIR}/${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*/* ${STAGEDIR}/${FONTSDIR}
 
 .include <bsd.port.mk>

Modified: head/arabic/ae_fonts_ttf/pkg-plist
==============================================================================
--- head/arabic/ae_fonts_ttf/pkg-plist	Fri Mar 20 19:04:04 2015	(r381767)
+++ head/arabic/ae_fonts_ttf/pkg-plist	Fri Mar 20 19:05:38 2015	(r381768)
@@ -1,45 +1,39 @@
-lib/X11/fonts/ae_fonts1/AAHS/fonts.dir
-lib/X11/fonts/ae_fonts1/AAHS/ae_Cortoba.ttf
-lib/X11/fonts/ae_fonts1/AAHS/ae_Nagham.ttf
-lib/X11/fonts/ae_fonts1/AAHS/ae_Ostorah.ttf
-lib/X11/fonts/ae_fonts1/AGA/fonts.dir
-lib/X11/fonts/ae_fonts1/AGA/ae_Dimnah.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Furat.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Granada.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Kayrawan.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Mashq.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Mashq_bold.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Nada.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Petra.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Rasheeq_bold.ttf
-lib/X11/fonts/ae_fonts1/AGA/ae_Sindibad.ttf
-lib/X11/fonts/ae_fonts1/FS/fonts.dir
-lib/X11/fonts/ae_fonts1/FS/ae_Arab.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Graph.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Japan.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Jet.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Metal.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Nice.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Salem.ttf
-lib/X11/fonts/ae_fonts1/FS/ae_Shado.ttf
-lib/X11/fonts/ae_fonts1/Kasr/fonts.dir
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlArabiya.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlBattar.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlHor.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlManzomah.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlMateen.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlMohanad.ttf
-lib/X11/fonts/ae_fonts1/Kasr/ae_AlMothnna_bold.ttf
-lib/X11/fonts/ae_fonts1/MCS/fonts.dir
-lib/X11/fonts/ae_fonts1/MCS/ae_Electron.ttf
-lib/X11/fonts/ae_fonts1/MCS/ae_Haramain.ttf
-lib/X11/fonts/ae_fonts1/MCS/ae_Hor.ttf
-lib/X11/fonts/ae_fonts1/MCS/ae_Tholoth.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/fonts.dir
-lib/X11/fonts/ae_fonts1/Shmookh/ae_AlYermook.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Hani.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Khalid.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Ouhod.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Rehan.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Sharjah.ttf
-lib/X11/fonts/ae_fonts1/Shmookh/ae_Tarablus.ttf
+%%FONTSDIR%%/ae_Cortoba.ttf
+%%FONTSDIR%%/ae_Nagham.ttf
+%%FONTSDIR%%/ae_Ostorah.ttf
+%%FONTSDIR%%/ae_Dimnah.ttf
+%%FONTSDIR%%/ae_Furat.ttf
+%%FONTSDIR%%/ae_Granada.ttf
+%%FONTSDIR%%/ae_Kayrawan.ttf
+%%FONTSDIR%%/ae_Mashq.ttf
+%%FONTSDIR%%/ae_Mashq_bold.ttf
+%%FONTSDIR%%/ae_Nada.ttf
+%%FONTSDIR%%/ae_Petra.ttf
+%%FONTSDIR%%/ae_Rasheeq_bold.ttf
+%%FONTSDIR%%/ae_Sindibad.ttf
+%%FONTSDIR%%/ae_Arab.ttf
+%%FONTSDIR%%/ae_Graph.ttf
+%%FONTSDIR%%/ae_Japan.ttf
+%%FONTSDIR%%/ae_Jet.ttf
+%%FONTSDIR%%/ae_Metal.ttf
+%%FONTSDIR%%/ae_Nice.ttf
+%%FONTSDIR%%/ae_Salem.ttf
+%%FONTSDIR%%/ae_Shado.ttf
+%%FONTSDIR%%/ae_AlArabiya.ttf
+%%FONTSDIR%%/ae_AlBattar.ttf
+%%FONTSDIR%%/ae_AlHor.ttf
+%%FONTSDIR%%/ae_AlManzomah.ttf
+%%FONTSDIR%%/ae_AlMateen.ttf
+%%FONTSDIR%%/ae_AlMohanad.ttf
+%%FONTSDIR%%/ae_AlMothnna_bold.ttf
+%%FONTSDIR%%/ae_Electron.ttf
+%%FONTSDIR%%/ae_Haramain.ttf
+%%FONTSDIR%%/ae_Hor.ttf
+%%FONTSDIR%%/ae_Tholoth.ttf
+%%FONTSDIR%%/ae_AlYermook.ttf
+%%FONTSDIR%%/ae_Hani.ttf
+%%FONTSDIR%%/ae_Khalid.ttf
+%%FONTSDIR%%/ae_Ouhod.ttf
+%%FONTSDIR%%/ae_Rehan.ttf
+%%FONTSDIR%%/ae_Sharjah.ttf
+%%FONTSDIR%%/ae_Tarablus.ttf



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