[Midnightbsd-cvs] mports: mports/x11-fonts: add mozilla-fonts

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 22 22:51:58 EDT 2007


Log Message:
-----------

add mozilla-fonts

Modified Files:
--------------
    mports/x11-fonts:
        Makefile (r1.5 -> r1.6)

Added Files:
-----------
    mports/x11-fonts/mozilla-fonts:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/x11-fonts/mozilla-fonts/files:
        patch-aa (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11-fonts/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lx11-fonts/Makefile -Lx11-fonts/Makefile -u -r1.5 -r1.6
--- x11-fonts/Makefile
+++ x11-fonts/Makefile
@@ -8,6 +8,7 @@
     SUBDIR += jmk-x11-fonts
     SUBDIR += libXft
     SUBDIR += linux-fontconfig
+    SUBDIR += mozilla-fonts
     SUBDIR += p5-type1inst
     SUBDIR += webfonts
     SUBDIR += xorg-fonts-100dpi
--- /dev/null
+++ x11-fonts/mozilla-fonts/pkg-descr
@@ -0,0 +1,21 @@
+mozilla-fonts is a complete set of the three kingpin typefaces in
+Httpland-- Times, Helvetica, and Courier-- each in two weights,
+two slants, and seven sizes (for a grand total of 84). The sizes
+range from 13- to 57-point (all @ 100dpi) and have been individually
+selected to match the font display behavior of MS-Windows Netscape
+as closely as possible.  Right down to the glaring scale disparity
+between sizes 6 and 7.
+
+Once installed, you'll have to add /usr/X11R6/lib/X11/fonts/mozilla to
+your X font path by either:
+
+$ xset fp+ /usr/X11R6/lib/X11/fonts/mozilla
+$ xset fp rehash
+
+or by adding it to your X server configuration file (usually
+/etc/XF86Config) and restarting the X server.
+
+You'll also need to configure netscape to use them.  See
+/usr/X11R6/share/doc/mozilla-fonts/README.
+
+WWW: http://fox.mit.edu/skunk/xwin/#mozilla_fonts
--- /dev/null
+++ x11-fonts/mozilla-fonts/pkg-plist
@@ -0,0 +1,90 @@
+lib/X11/fonts/mozilla/cour1.pcf
+lib/X11/fonts/mozilla/cour2.pcf
+lib/X11/fonts/mozilla/cour3.pcf
+lib/X11/fonts/mozilla/cour4.pcf
+lib/X11/fonts/mozilla/cour5.pcf
+lib/X11/fonts/mozilla/cour6.pcf
+lib/X11/fonts/mozilla/cour7.pcf
+lib/X11/fonts/mozilla/courb1.pcf
+lib/X11/fonts/mozilla/courb2.pcf
+lib/X11/fonts/mozilla/courb3.pcf
+lib/X11/fonts/mozilla/courb4.pcf
+lib/X11/fonts/mozilla/courb5.pcf
+lib/X11/fonts/mozilla/courb6.pcf
+lib/X11/fonts/mozilla/courb7.pcf
+lib/X11/fonts/mozilla/courbi1.pcf
+lib/X11/fonts/mozilla/courbi2.pcf
+lib/X11/fonts/mozilla/courbi3.pcf
+lib/X11/fonts/mozilla/courbi4.pcf
+lib/X11/fonts/mozilla/courbi5.pcf
+lib/X11/fonts/mozilla/courbi6.pcf
+lib/X11/fonts/mozilla/courbi7.pcf
+lib/X11/fonts/mozilla/couri1.pcf
+lib/X11/fonts/mozilla/couri2.pcf
+lib/X11/fonts/mozilla/couri3.pcf
+lib/X11/fonts/mozilla/couri4.pcf
+lib/X11/fonts/mozilla/couri5.pcf
+lib/X11/fonts/mozilla/couri6.pcf
+lib/X11/fonts/mozilla/couri7.pcf
+lib/X11/fonts/mozilla/fonts.alias
+lib/X11/fonts/mozilla/fonts.dir
+lib/X11/fonts/mozilla/helv0.pcf
+lib/X11/fonts/mozilla/helv1.pcf
+lib/X11/fonts/mozilla/helv2.pcf
+lib/X11/fonts/mozilla/helv3.pcf
+lib/X11/fonts/mozilla/helv4.pcf
+lib/X11/fonts/mozilla/helv5.pcf
+lib/X11/fonts/mozilla/helv6.pcf
+lib/X11/fonts/mozilla/helv7.pcf
+lib/X11/fonts/mozilla/helvb1.pcf
+lib/X11/fonts/mozilla/helvb2.pcf
+lib/X11/fonts/mozilla/helvb3.pcf
+lib/X11/fonts/mozilla/helvb4.pcf
+lib/X11/fonts/mozilla/helvb5.pcf
+lib/X11/fonts/mozilla/helvb6.pcf
+lib/X11/fonts/mozilla/helvb7.pcf
+lib/X11/fonts/mozilla/helvbi1.pcf
+lib/X11/fonts/mozilla/helvbi2.pcf
+lib/X11/fonts/mozilla/helvbi3.pcf
+lib/X11/fonts/mozilla/helvbi4.pcf
+lib/X11/fonts/mozilla/helvbi5.pcf
+lib/X11/fonts/mozilla/helvbi6.pcf
+lib/X11/fonts/mozilla/helvbi7.pcf
+lib/X11/fonts/mozilla/helvi1.pcf
+lib/X11/fonts/mozilla/helvi2.pcf
+lib/X11/fonts/mozilla/helvi3.pcf
+lib/X11/fonts/mozilla/helvi4.pcf
+lib/X11/fonts/mozilla/helvi5.pcf
+lib/X11/fonts/mozilla/helvi6.pcf
+lib/X11/fonts/mozilla/helvi7.pcf
+lib/X11/fonts/mozilla/times1.pcf
+lib/X11/fonts/mozilla/times2.pcf
+lib/X11/fonts/mozilla/times3.pcf
+lib/X11/fonts/mozilla/times4.pcf
+lib/X11/fonts/mozilla/times5.pcf
+lib/X11/fonts/mozilla/times6.pcf
+lib/X11/fonts/mozilla/times7.pcf
+lib/X11/fonts/mozilla/timesb1.pcf
+lib/X11/fonts/mozilla/timesb2.pcf
+lib/X11/fonts/mozilla/timesb3.pcf
+lib/X11/fonts/mozilla/timesb4.pcf
+lib/X11/fonts/mozilla/timesb5.pcf
+lib/X11/fonts/mozilla/timesb6.pcf
+lib/X11/fonts/mozilla/timesb7.pcf
+lib/X11/fonts/mozilla/timesbi1.pcf
+lib/X11/fonts/mozilla/timesbi2.pcf
+lib/X11/fonts/mozilla/timesbi3.pcf
+lib/X11/fonts/mozilla/timesbi4.pcf
+lib/X11/fonts/mozilla/timesbi5.pcf
+lib/X11/fonts/mozilla/timesbi6.pcf
+lib/X11/fonts/mozilla/timesbi7.pcf
+lib/X11/fonts/mozilla/timesi1.pcf
+lib/X11/fonts/mozilla/timesi2.pcf
+lib/X11/fonts/mozilla/timesi3.pcf
+lib/X11/fonts/mozilla/timesi4.pcf
+lib/X11/fonts/mozilla/timesi5.pcf
+lib/X11/fonts/mozilla/timesi6.pcf
+lib/X11/fonts/mozilla/timesi7.pcf
+share/doc/mozilla-fonts/README
+ at dirrm lib/X11/fonts/mozilla
+ at dirrm share/doc/mozilla-fonts
--- /dev/null
+++ x11-fonts/mozilla-fonts/Makefile
@@ -0,0 +1,31 @@
+# Ports collection makefile for:	mozilla-fonts
+# Date created:				10 Mar 2000
+# Whom:					dom at happygiraffe.net
+#
+# $MidnightBSD: mports/x11-fonts/mozilla-fonts/Makefile,v 1.1 2007/08/23 02:51:55 laffer1 Exp $
+# $FreeBSD: ports/x11-fonts/mozilla-fonts/Makefile,v 1.12 2007/05/19 20:29:33 flz Exp $
+#
+
+PORTNAME=	mozilla-fonts
+PORTVERSION=	1.0
+
+CATEGORIES=	x11-fonts www
+MASTER_SITES=	http://www.happygiraffe.net/dist/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Web fonts for Netscape/Mozilla
+
+BUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT}
+
+USE_X_PREFIX=	yes
+USE_XLIB=	yes
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${PREFIX}/share/doc/mozilla-fonts
+	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mozilla-fonts
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ x11-fonts/mozilla-fonts/distinfo
@@ -0,0 +1,3 @@
+MD5 (mozilla-fonts-1.0.tar.gz) = 504354e52219649d07a5003ca03e8b58
+SHA256 (mozilla-fonts-1.0.tar.gz) = 9d49841fdd6296cdfae87274bf298267e791754e818f3cc42dacf72ab3a23caf
+SIZE (mozilla-fonts-1.0.tar.gz) = 646850
--- /dev/null
+++ x11-fonts/mozilla-fonts/files/patch-aa
@@ -0,0 +1,29 @@
+--- Makefile.orig	Sat Sep 23 22:57:57 2000
++++ Makefile	Wed Aug 22 22:47:17 2007
+@@ -1,7 +1,5 @@
+ # Makefile for mozilla-fonts
+ 
+-DESTDIR	= /usr/local/lib/X11/fonts/Mozilla
+-
+ INSTALL = install
+ 
+ # -------- No user-serviceable parts below --------
+@@ -111,13 +109,13 @@
+ 	bdftopcf $< -o $@
+ 
+ install: $(PCFFILES)
+-	mkdir -p $(DESTDIR)
++	mkdir -p ${PREFIX}/lib/X11/fonts/mozilla
+ 	@for font in $(PCFFILES) ; do \
+-		echo " $(INSTALL) -m 644 $$font $(DESTDIR)/$$font" ; \
+-		$(INSTALL) -m 644 $$font $(DESTDIR)/$$font || exit 1 ; \
++		echo " $(INSTALL) -m 644 $$font ${PREFIX}/lib/X11/fonts/mozilla/$$font" ; \
++		$(BSD_INSTALL_DATA) $$font ${PREFIX}/lib/X11/fonts/mozilla/$$font || exit 1 ; \
+ 	done
+-	$(INSTALL) -m 644 fonts.alias $(DESTDIR)/fonts.alias
+-	cd $(DESTDIR) && mkfontdir
++	$(BSD_INSTALL_DATA) -m 644 fonts.alias ${PREFIX}/lib/X11/fonts/mozilla/fonts.alias
++	cd ${PREFIX}/lib/X11/fonts/mozilla/ && mkfontdir
+ 
+ clean:
+ 	rm -f *.pcf


More information about the Midnightbsd-cvs mailing list