Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 11:41:12 GMT
From:      Boris Samorodov <bsam@passap.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187695: [patch] x11-fonts/vollkorn-ttf: update to version 3.003
Message-ID:  <201403181141.s2IBfCOj094310@cgiserv.freebsd.org>
Resent-Message-ID: <201403181150.s2IBo0b4094698@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187695
>Category:       ports
>Synopsis:       [patch] x11-fonts/vollkorn-ttf: update to version 3.003
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 11:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 10-amd64
>Organization:
BSDprint
>Environment:
FreeBSD srv.bb.tel.ru 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
A new version is available:
http://vollkorn-typeface.com/
>How-To-Repeat:

>Fix:
. update to version 3.003;
. incorporate pkg-message using;
. use FONTSDIR variable at pkg-plist.

A note to the maintainer: there are more then only ttf fonts at the distribution now.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 348523)
+++ Makefile	(working copy)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	vollkorn-ttf
-PORTVERSION=	2.1
+PORTVERSION=	3.003
 CATEGORIES=	x11-fonts
-MASTER_SITES=	http://friedrichalthausen.de/
-DISTNAME=	Vollkorn-${PORTVERSION}
+MASTER_SITES=	http://vollkorn-typeface.com/download/
+DISTNAME=	vollkorn-${PORTVERSION:S|.|-|}
 
 MAINTAINER=	rakuco@FreeBSD.org
 COMMENT=	Free and healthy typeface for bread and butter use
@@ -15,16 +15,19 @@
 NO_WRKSUBDIR=	yes
 USES=		zip
 
-FONTDIR=	${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME}
+FONTSDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
+PLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+SUB_LIST=	FONTSDIR=${FONTSDIR}
+SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${MKDIR} ${FONTDIR}
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
 	cd ${WRKSRC} && \
-		${INSTALL_DATA} Vollkorn-*.ttf ${FONTDIR}
+		${INSTALL_DATA} TTF/Vollkorn-*.ttf ${STAGEDIR}${FONTSDIR}
 
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && \
 		${INSTALL_DATA} Fontlog.txt OFL-FAQ.txt ${STAGEDIR}${DOCSDIR}
 
Index: distinfo
===================================================================
--- distinfo	(revision 348523)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (Vollkorn-2.1.zip) = 2eaa427dbe42e37bfdc182c1e3446abdc889806fe0b6c9a14e0fc0c3acc997f5
-SIZE (Vollkorn-2.1.zip) = 139737
+SHA256 (vollkorn-3-003.zip) = dcf7913f1f29f044950984276e1119ef64e8a158f48e3ae159b2e152ce2b3e5f
+SIZE (vollkorn-3-003.zip) = 1715770
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in	(revision 0)
+++ files/pkg-message.in	(working copy)
@@ -0,0 +1,8 @@
+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%%/"

Property changes on: files/pkg-message.in
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 348523)
+++ pkg-plist	(working copy)
@@ -1,7 +1,11 @@
-lib/X11/fonts/vollkorn-ttf/Vollkorn-Bold.ttf
-lib/X11/fonts/vollkorn-ttf/Vollkorn-BoldItalic.ttf
-lib/X11/fonts/vollkorn-ttf/Vollkorn-Italic.ttf
-lib/X11/fonts/vollkorn-ttf/Vollkorn-Regular.ttf
+%%FONTSDIR%%/Vollkorn-Bold.ttf
+%%FONTSDIR%%/Vollkorn-BoldItalic.ttf
+%%FONTSDIR%%/Vollkorn-Italic.ttf
+%%FONTSDIR%%/Vollkorn-Medium.ttf
+%%FONTSDIR%%/Vollkorn-MediumItalic.ttf
+%%FONTSDIR%%/Vollkorn-Regular.ttf
+%%FONTSDIR%%/Vollkorn-Semibold.ttf
+%%FONTSDIR%%/Vollkorn-SemiboldItalic.ttf
 @dirrm lib/X11/fonts/vollkorn-ttf
 %%PORTDOCS%%%%DOCSDIR%%/OFL-FAQ.txt
 %%PORTDOCS%%%%DOCSDIR%%/Fontlog.txt


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403181141.s2IBfCOj094310>