[Midnightbsd-cvs] mports: x11-fonts/dejavu: add dejavu
crash at midnightbsd.org
crash at midnightbsd.org
Tue May 27 10:49:47 EDT 2008
Log Message:
-----------
add dejavu
Added Files:
-----------
mports/x11-fonts/dejavu:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-message (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
--- /dev/null
+++ x11-fonts/dejavu/pkg-message
@@ -0,0 +1,11 @@
+Make sure that the freetype module is loaded. If it is not, add the following
+line to the "Modules" section of your X Windows configuration file:
+
+ Load "freetype"
+
+Add the following line to the "Files" section of X Windows configuration file:
+
+ FontPath "%%FONTSDIR%%/"
+
+Note: your X Windows configuration file is typically /etc/X11/XF86Config
+if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
--- /dev/null
+++ x11-fonts/dejavu/pkg-descr
@@ -0,0 +1,5 @@
+The DejaVu fonts are a font family based on the Bitstream Vera Fonts. Its
+purpose is to provide a wider range of characters while maintaining the
+original look and feel through the process of collaborative development.
+
+WWW: http://dejavu.sourceforge.net/
--- /dev/null
+++ x11-fonts/dejavu/pkg-plist
@@ -0,0 +1,22 @@
+%%FONTSDIR%%/DejaVuSans-Bold.ttf
+%%FONTSDIR%%/DejaVuSans-BoldOblique.ttf
+%%FONTSDIR%%/DejaVuSans-ExtraLight.ttf
+%%FONTSDIR%%/DejaVuSans-Oblique.ttf
+%%FONTSDIR%%/DejaVuSans.ttf
+%%FONTSDIR%%/DejaVuSansCondensed-Bold.ttf
+%%FONTSDIR%%/DejaVuSansCondensed-BoldOblique.ttf
+%%FONTSDIR%%/DejaVuSansCondensed-Oblique.ttf
+%%FONTSDIR%%/DejaVuSansCondensed.ttf
+%%FONTSDIR%%/DejaVuSansMono-Bold.ttf
+%%FONTSDIR%%/DejaVuSansMono-BoldOblique.ttf
+%%FONTSDIR%%/DejaVuSansMono-Oblique.ttf
+%%FONTSDIR%%/DejaVuSansMono.ttf
+%%FONTSDIR%%/DejaVuSerif-Bold.ttf
+%%FONTSDIR%%/DejaVuSerif-BoldItalic.ttf
+%%FONTSDIR%%/DejaVuSerif-Italic.ttf
+%%FONTSDIR%%/DejaVuSerif.ttf
+%%FONTSDIR%%/DejaVuSerifCondensed-Bold.ttf
+%%FONTSDIR%%/DejaVuSerifCondensed-BoldItalic.ttf
+%%FONTSDIR%%/DejaVuSerifCondensed-Italic.ttf
+%%FONTSDIR%%/DejaVuSerifCondensed.ttf
+ at dirrm %%FONTSDIR%%
--- /dev/null
+++ x11-fonts/dejavu/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: dejavu
+# Date created: Dec 23 2004
+# Whom: Michael Johnson <ahze at FreeBSD.org>
+#
+# $FreeBSD: ports/x11-fonts/dejavu/Makefile,v 1.40 2008/05/27 05:35:26 ahze Exp $
+# $MCom: ports/x11-fonts/dejavu/Makefile,v 1.1 2006/10/13 23:29:09 ahze Exp $
+# $Midnightbsd$
+
+PORTNAME= dejavu
+DISTVERSION= 2.25
+CATEGORIES= x11-fonts
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-fonts-ttf-${DISTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Bitstream Vera Fonts clone with a wider range of characters
+LICENSE= other
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_BZIP2= yes
+USE_XORG= x11
+NO_BUILD= yes
+PORTDOCS= README status.txt unicover.txt langcover.txt
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}/"
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+FONTNAME= ${PORTNAME}
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+
+post-patch:
+ ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
+
+do-install:
+ ${MKDIR} ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${FONTSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+post-install:
+ @${ECHO_MSG} "===> Running fc-cache"
+ -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
+ @${ECHO_MSG}
+ ${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
--- /dev/null
+++ x11-fonts/dejavu/distinfo
@@ -0,0 +1,3 @@
+MD5 (dejavu-fonts-ttf-2.25.tar.bz2) = 1fffcc935fbb244caf5b027de1ab50aa
+SHA256 (dejavu-fonts-ttf-2.25.tar.bz2) = b5f635000e90b8fa3bc692bb2793cd275f189153f73e87b1f31d94764bff48bd
+SIZE (dejavu-fonts-ttf-2.25.tar.bz2) = 4008501
More information about the Midnightbsd-cvs
mailing list