svn commit: r352135 - in head/x11-fonts: . comic-neue comic-neue/files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 25 17:08:41 UTC 2014
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 at 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
> + at unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
> + at dirrm %%FONTSDIR%%
> + at 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
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140425/ffbc029a/attachment.sig>
More information about the svn-ports-all
mailing list