Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 23:24:13 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r352135 - in head/x11-fonts: . comic-neue comic-neue/files
Message-ID:  <535BCF9D.8060509@FreeBSD.org>
In-Reply-To: <20140425170834.GF38988@ivaldir.etoilebsd.net>
References:  <201404251525.s3PFPGZX094736@svn.freebsd.org> <20140425170834.GF38988@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014/04/26 01:08, Baptiste Daroussin wrote:
> On Fri, Apr 25, 2014 at 03:25:16PM +0000, Kevin Lo wrote:
>> Author: kevlo
>> Date: Fri Apr 25 15:25:16 2014
>> New Revision: 352135
>> URL: http://svnweb.freebsd.org/changeset/ports/352135
>> QAT: https://qat.redports.org/buildarchive/r352135/
>>
>> Log:
>>    Import comic-neue 1.1.
>>    
>>    Comic Neue is a set of free fonts providing an alternative to Microsoft’s
>>    popular Comic Sans font.
>>
>> Added:
>>    head/x11-fonts/comic-neue/
>>    head/x11-fonts/comic-neue/Makefile   (contents, props changed)
>>    head/x11-fonts/comic-neue/distinfo   (contents, props changed)
>>    head/x11-fonts/comic-neue/files/
>>    head/x11-fonts/comic-neue/files/pkg-message.in   (contents, props changed)
>>    head/x11-fonts/comic-neue/pkg-descr   (contents, props changed)
>>    head/x11-fonts/comic-neue/pkg-plist   (contents, props changed)
>> Modified:
>>    head/x11-fonts/Makefile
>>
>> Modified: head/x11-fonts/Makefile
>> ==============================================================================
>> --- head/x11-fonts/Makefile	Fri Apr 25 14:55:11 2014	(r352134)
>> +++ head/x11-fonts/Makefile	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -23,6 +23,7 @@
>>       SUBDIR += code2000
>>       SUBDIR += code2001
>>       SUBDIR += comfortaa-ttf
>> +    SUBDIR += comic-neue
>>       SUBDIR += consolamono-ttf
>>       SUBDIR += croscorefonts-fonts-ttf
>>       SUBDIR += cyberbit-ttfonts
>>
>> Added: head/x11-fonts/comic-neue/Makefile
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/x11-fonts/comic-neue/Makefile	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -0,0 +1,32 @@
>> +# $FreeBSD$
>> +
>> +PORTNAME=	comic-neue
>> +PORTVERSION=	1.1
>> +CATEGORIES=	x11-fonts
>> +MASTER_SITES=	http://comicneue.com/
>> +
>> +MAINTAINER=	kevlo@FreeBSD.org
>> +COMMENT=	Free Comic Sans alternative
>> +
>> +LICENSE=	CC0
>> +LICENSE_NAME=	CC0 1.0 Universal
>> +LICENSE_TEXT=	See http://creativecommons.org/publicdomain/zero/1.0/
>> +LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
>> +
>> +BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
>> +RUN_DEPENDS:=	${BUILD_DEPENDS}
>> +
>> +USES=		zip
>> +NO_BUILD=	yes
>> +
>> +PLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
>> +FONTSDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
>> +SUB_FILES=	pkg-message
>> +SUB_LIST=	FONTSDIR=${FONTSDIR}
>> +WRKSRC=		${WRKDIR}/${DISTNAME}
>> +
>> +do-install:
>> +	${MKDIR} ${STAGEDIR}${FONTSDIR}
>> +	${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
>> +
>> +.include <bsd.port.mk>
>>
>> Added: head/x11-fonts/comic-neue/distinfo
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/x11-fonts/comic-neue/distinfo	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -0,0 +1,2 @@
>> +SHA256 (comic-neue-1.1.zip) = f9442fc42252db62ea788bd0247ae0e74571678d1dbd3e3edc229389050d6923
>> +SIZE (comic-neue-1.1.zip) = 760818
>>
>> Added: head/x11-fonts/comic-neue/files/pkg-message.in
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/x11-fonts/comic-neue/files/pkg-message.in	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -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%%/"
>>
> I'm not sure the above is really necessary
>
>> Added: head/x11-fonts/comic-neue/pkg-descr
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/x11-fonts/comic-neue/pkg-descr	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -0,0 +1,4 @@
>> +Comic Neue is a set of free fonts providing an alternative to
>> +Microsoft's popular Comic Sans font.
>> +
>> +WWW: http://comicneue.com/
>>
>> Added: head/x11-fonts/comic-neue/pkg-plist
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/x11-fonts/comic-neue/pkg-plist	Fri Apr 25 15:25:16 2014	(r352135)
>> @@ -0,0 +1,15 @@
>> +%%FONTSDIR%%/ComicNeue-Angular-Bold-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Angular-Bold.ttf
>> +%%FONTSDIR%%/ComicNeue-Angular-Light-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Angular-Light.ttf
>> +%%FONTSDIR%%/ComicNeue-Angular-Regular-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Angular-Regular.ttf
>> +%%FONTSDIR%%/ComicNeue-Bold-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Bold.ttf
>> +%%FONTSDIR%%/ComicNeue-Light-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Light.ttf
>> +%%FONTSDIR%%/ComicNeue-Regular-Oblique.ttf
>> +%%FONTSDIR%%/ComicNeue-Regular.ttf
>> +@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
>> +@dirrm %%FONTSDIR%%
>> +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true
>>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html
>
> you have keywords to handle that a better way

Thanks for pointing that out. I will use keywords next time.

>
> regards,
> Bapt

Kevin




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