aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-07-23 16:10:10 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-07-23 16:10:10 +0000
commitc8bde745e6543a05fb45ff1fa9362f4a8949543d (patch)
tree3ff968d07669253c30066d03b2b8c1e833ef9ac9 /x11-fonts
parent89c0646bbadf49b39a0bae51aca559b659ce9cd3 (diff)
downloadports-c8bde745e6543a05fb45ff1fa9362f4a8949543d.tar.gz
ports-c8bde745e6543a05fb45ff1fa9362f4a8949543d.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/andika/Makefile50
-rw-r--r--x11-fonts/andika/distinfo2
-rw-r--r--x11-fonts/andika/files/pkg-message.in12
-rw-r--r--x11-fonts/andika/pkg-descr18
5 files changed, 83 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index bb28f7883ac8..5dd784e4e6a3 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -3,6 +3,7 @@
COMMENT = X11 fonts and font utilities
+ SUBDIR += andika
SUBDIR += anonymous-pro
SUBDIR += artwiz-aleczapka
SUBDIR += artwiz-aleczapka-de
diff --git a/x11-fonts/andika/Makefile b/x11-fonts/andika/Makefile
new file mode 100644
index 000000000000..cfc7dad0fbef
--- /dev/null
+++ b/x11-fonts/andika/Makefile
@@ -0,0 +1,50 @@
+# $FreeBSD$
+
+PORTNAME= Andika
+PORTVERSION= 1.004
+CATEGORIES= x11-fonts
+MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MEDIA_ID}&filename=/
+
+MAINTAINER= gabor@FreeBSD.org
+COMMENT= Andika TrueType fonts
+
+LICENSE= OFL
+LICENSE_NAME= SIL Open Font License (OFL)
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USE_ZIP= yes
+XORG_CAT= font
+
+FONTLIBPATH= lib/X11/fonts
+FONTROOTDIR= ${PREFIX}/${FONTLIBPATH}
+INSTALLS_TTF= yes
+MEDIA_ID= ${PORTNAME}-${PORTVERSION}.zip
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${DISTNAME:S,.orig,,:S,_,-,}
+
+PLIST_FILES= ${FONTLIBPATH}/${FONTDIR}/Andika-R.ttf
+
+SUB_LIST= "FONTPATH=${FONTROOTDIR}/${FONTDIR}"
+SUB_FILES= pkg-message
+
+DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt
+PORTDOCS= ${DOCSLIST:C,^.*/,,}
+
+.include <bsd.port.options.mk>
+
+do-configure:
+ ${DO_NADA}
+
+do-install:
+ ${ECHO_MSG}
+ ${CAT} ${PKGMESSAGE}
+ ${ECHO_MSG}
+ ${MKDIR} ${FONTROOTDIR}/${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTROOTDIR}/${FONTDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/andika/distinfo b/x11-fonts/andika/distinfo
new file mode 100644
index 000000000000..e30a3d0c7b2d
--- /dev/null
+++ b/x11-fonts/andika/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xorg/font/Andika-1.004.tar.bz2) = e7de847f4ccfd881249630992e8b3d2dba2bec093eda9991d554228c7f14e77c
+SIZE (xorg/font/Andika-1.004.tar.bz2) = 1000025
diff --git a/x11-fonts/andika/files/pkg-message.in b/x11-fonts/andika/files/pkg-message.in
new file mode 100644
index 000000000000..7117adce42d0
--- /dev/null
+++ b/x11-fonts/andika/files/pkg-message.in
@@ -0,0 +1,12 @@
+To use these fonts, add the following line to the "Files" section of
+xorg.conf:
+
+ FontPath "%%FONTPATH%%/"
+
+Users of older versions of X may additionally have to make sure that
+the freetype module is loaded. Check /var/log/Xorg.0.log for error
+messages. If freetype is required, add the following line to the
+"Modules" section of xorg.conf:
+
+ Load "freetype"
+
diff --git a/x11-fonts/andika/pkg-descr b/x11-fonts/andika/pkg-descr
new file mode 100644
index 000000000000..219c39fe3da0
--- /dev/null
+++ b/x11-fonts/andika/pkg-descr
@@ -0,0 +1,18 @@
+The Andika font is designed to work on systems and with applications that
+provide support for TrueType fonts and for Unicode character encoding.
+This includes Microsoft Windows 9x or greater, as well as recent versions
+of the Mac OS (version 9.0 and later), and also some implementations of
+Unix / Linux (TrueType font support on Unix and Linux may depend upon the
+particular applications in use). On some systems (true, at least, of
+32-bit Windows), it can also be used with older applications that use
+legacy, industry-standard, 8-bit character encodings.
+
+The preceding characterization of system requirements describes the
+minimum needed to display characters. Realizing the full capabilities of
+this font involves additional requirements. This font is designed to work
+with either of two advanced font technologies, Graphite or OpenType.
+To take advantage of the advanced typographic capabilities of this font,
+you must be using applications that provide an adequate level of support
+for Graphite and OpenType.
+
+WWW: http://scripts.sil.org/cms/scripts/page.php?item_id=Andika