svn commit: r369111 - in head/www: . alef-webfont

Kurt Jaeger pi at FreeBSD.org
Tue Sep 23 18:49:45 UTC 2014


Author: pi
Date: Tue Sep 23 18:49:43 2014
New Revision: 369111
URL: http://svnweb.freebsd.org/changeset/ports/369111
QAT: https://qat.redports.org/buildarchive/r369111/

Log:
  New port: www/alef-webfont
  
  Alef has been designed to meet very high standards whilst at a very small
  size. It was created under the consideration of its primary use for digital
  media, and overcomes great challenges in the rendition of small characters
  and cross-platform adjustment.
  
  The font supports Hebrew and various European Languages.
  
  WWW: http://alef.hagilda.com/
  
  PR:		193543
  Submitted by:	Carlos Jacobo Puga Medina <cpm at fbsd.es>

Added:
  head/www/alef-webfont/
  head/www/alef-webfont/Makefile   (contents, props changed)
  head/www/alef-webfont/distinfo   (contents, props changed)
  head/www/alef-webfont/pkg-descr   (contents, props changed)
  head/www/alef-webfont/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Sep 23 18:26:18 2014	(r369110)
+++ head/www/Makefile	Tue Sep 23 18:49:43 2014	(r369111)
@@ -13,6 +13,7 @@
     SUBDIR += ach
     SUBDIR += adzap
     SUBDIR += amphetadesk
+    SUBDIR += alef-webfont
     SUBDIR += analog
     SUBDIR += anyremote2html
     SUBDIR += anyterm

Added: head/www/alef-webfont/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/alef-webfont/Makefile	Tue Sep 23 18:49:43 2014	(r369111)
@@ -0,0 +1,58 @@
+# Created by: cpm
+# $FreeBSD$
+
+PORTNAME=	alef
+PORTVERSION=	1.0
+CATEGORIES=	www
+MASTER_SITES=	http://alef.hagilda.com/
+PKGNAMESUFFIX=	-webfont
+DISTNAME=	Alef
+
+MAINTAINER=	cpm at fbsd.es
+COMMENT=	Free multi-lingual font designed for screens
+
+LICENSE=	OFL11
+LICENSE_FILE=	${WRKDIR}/OFL-license.txt
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+		${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+
+USES=		zip
+NO_BUILD=	yes
+FONTSDIR=	${PREFIX}/lib/x11/fonts/${PORTNAME}${PKGNAMESUFFIX}
+INSTDAT=	fonts.dir fonts.scale
+
+PLIST_SUB=	FONTSDIR="${FONTSDIR}" WWWDIR_REL="${WWWDIR_REL}${PKGNAMESUFFIX}"
+
+MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
+MKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
+
+OPTIONS_DEFINE=	DOCS
+
+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+PORTDOCS=	COMING-SOON.txt readme.txt
+
+post-extract:
+	${MKDIR} ${WRKSRC}
+	cd ${WRKDIR} && ${MV} TTF ${WRKSRC}
+	${MV} ${WRKDIR}/--COMING-SOON--.txt ${WRKDIR}/COMING-SOON.txt
+
+pre-install:
+	${MKFONTSCL_CMD} ${WRKDIR}/Alef-Webfont
+	${MKFONTDIR_CMD} ${WRKDIR}/Alef-Webfont
+
+do-install:
+	${MKDIR} ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}
+.for f in Alef-bold.html Alef-regular.html stylesheet.css
+	${INSTALL_DATA} ${WRKDIR}/Alef-Webfont/${f} ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}
+.endfor
+.for i in eot svg ttf woff
+	${MKDIR} ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}/${i}
+	${INSTALL_DATA} ${WRKDIR}/Alef-Webfont/*.${i} ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}/${i}
+.endfor
+	cd ${WRKDIR}/Alef-Webfont && ${INSTALL_DATA} ${INSTDAT} ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}/ttf
+	${CP} -pr ${WRKDIR}/Alef-Webfont/specimen_files ${STAGEDIR}${WWWDIR}${PKGNAMESUFFIX}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/www/alef-webfont/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/alef-webfont/distinfo	Tue Sep 23 18:49:43 2014	(r369111)
@@ -0,0 +1,2 @@
+SHA256 (Alef.zip) = aae9b927858a1dbc56f371ac893af09348031e21c2ef0b94115ce5915d6ec990
+SIZE (Alef.zip) = 799409

Added: head/www/alef-webfont/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/alef-webfont/pkg-descr	Tue Sep 23 18:49:43 2014	(r369111)
@@ -0,0 +1,8 @@
+Alef has been designed to meet very high standards whilst at a very small
+size. It was created under the consideration of its primary use for digital
+media, and overcomes great challenges in the rendition of small characters
+and cross-platform adjustment.
+
+The font supports Hebrew and various European Languages.
+
+WWW: http://alef.hagilda.com/

Added: head/www/alef-webfont/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/alef-webfont/pkg-plist	Tue Sep 23 18:49:43 2014	(r369111)
@@ -0,0 +1,23 @@
+%%WWWDIR_REL%%/Alef-bold.html
+%%WWWDIR_REL%%/Alef-regular.html
+%%WWWDIR_REL%%/eot/Alef-Bold.eot
+%%WWWDIR_REL%%/eot/Alef-Regular.eot
+%%WWWDIR_REL%%/specimen_files/easytabs.js
+%%WWWDIR_REL%%/specimen_files/grid_12-825-55-15.css
+%%WWWDIR_REL%%/specimen_files/openfont-regular-cleartype.png
+%%WWWDIR_REL%%/specimen_files/specimen_stylesheet.css
+%%WWWDIR_REL%%/stylesheet.css
+%%WWWDIR_REL%%/svg/Alef-Bold.svg
+%%WWWDIR_REL%%/svg/Alef-Regular.svg
+%%WWWDIR_REL%%/ttf/Alef-Bold.ttf
+%%WWWDIR_REL%%/ttf/Alef-Regular.ttf
+%%WWWDIR_REL%%/ttf/fonts.dir
+%%WWWDIR_REL%%/ttf/fonts.scale
+%%WWWDIR_REL%%/woff/Alef-Bold.woff
+%%WWWDIR_REL%%/woff/Alef-Regular.woff
+ at dirrmtry %%WWWDIR_REL%%/eot
+ at dirrmtry %%WWWDIR_REL%%/specimen_files
+ at dirrmtry %%WWWDIR_REL%%/svg
+ at dirrmtry %%WWWDIR_REL%%/ttf
+ at dirrmtry %%WWWDIR_REL%%/woff
+ at dirrmtry %%WWWDIR_REL%%


More information about the svn-ports-head mailing list