forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
5 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= [email protected] | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,2 @@ | ||
SHA256 (Alef.zip) = aae9b927858a1dbc56f371ac893af09348031e21c2ef0b94115ce5915d6ec990 | ||
SIZE (Alef.zip) = 799409 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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%% |