1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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@fbsd.es>
This commit is contained in:
Kurt Jaeger 2014-09-23 18:49:43 +00:00
parent 11e602281c
commit 247b017ff7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369111
5 changed files with 92 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += ach
SUBDIR += adzap
SUBDIR += amphetadesk
SUBDIR += alef-webfont
SUBDIR += analog
SUBDIR += anyremote2html
SUBDIR += anyterm

58
www/alef-webfont/Makefile Normal file
View File

@ -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@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>

View File

@ -0,0 +1,2 @@
SHA256 (Alef.zip) = aae9b927858a1dbc56f371ac893af09348031e21c2ef0b94115ce5915d6ec990
SIZE (Alef.zip) = 799409

View File

@ -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/

View File

@ -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
@dirrmtry %%WWWDIR_REL%%/eot
@dirrmtry %%WWWDIR_REL%%/specimen_files
@dirrmtry %%WWWDIR_REL%%/svg
@dirrmtry %%WWWDIR_REL%%/ttf
@dirrmtry %%WWWDIR_REL%%/woff
@dirrmtry %%WWWDIR_REL%%