diff options
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/junicode/Makefile | 46 | ||||
-rw-r--r-- | x11-fonts/junicode/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/junicode/pkg-descr | 6 | ||||
-rw-r--r-- | x11-fonts/junicode/pkg-plist | 7 |
5 files changed, 63 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 684109ad8067..9db51d08cc57 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -36,6 +36,7 @@ SUBDIR += gnome-font-sampler SUBDIR += intlfonts SUBDIR += jmk-x11-fonts + SUBDIR += junicode SUBDIR += lfpfonts-fix SUBDIR += lfpfonts-var SUBDIR += libXft diff --git a/x11-fonts/junicode/Makefile b/x11-fonts/junicode/Makefile new file mode 100644 index 000000000000..ac5e006158be --- /dev/null +++ b/x11-fonts/junicode/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: junicode +# Date created: 28 August 2006 +# Whom: Guerkan Senguen <gurkan@linuks.mine.nu> +# +# $FreeBSD$ +# + +PORTNAME= junicode +DISTVERSION= 0-6-11 +CATEGORIES= x11-fonts +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= gurkan@linuks.mine.nu +COMMENT= Unicode font for medievalists (Latin, IPA and Runic) + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_X_PREFIX= yes +USE_ZIP= yes +NO_BUILD= yes + +PORTDOCS= ${PORTNAME}-${DISTVERSION}.pdf +PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" + +FONTNAME= ${PORTNAME} +FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} +WRKSRC= ${WRKDIR} + +do-install: + ${MKDIR} ${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.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" + -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR} + @${ECHO_MSG} + +.include <bsd.port.mk> diff --git a/x11-fonts/junicode/distinfo b/x11-fonts/junicode/distinfo new file mode 100644 index 000000000000..80d7aaef5dd2 --- /dev/null +++ b/x11-fonts/junicode/distinfo @@ -0,0 +1,3 @@ +MD5 (junicode-0-6-11.zip) = b416981aadf83faa574ac9179ea454fc +SHA256 (junicode-0-6-11.zip) = 98dce8c3a09eb6e16130e36f3eb77ea7c91fb244de50be9b84cfac32eee9dc54 +SIZE (junicode-0-6-11.zip) = 728675 diff --git a/x11-fonts/junicode/pkg-descr b/x11-fonts/junicode/pkg-descr new file mode 100644 index 000000000000..0c62dd0cf2cc --- /dev/null +++ b/x11-fonts/junicode/pkg-descr @@ -0,0 +1,6 @@ +Junicode is a TrueType Unicode font targetted at medievalists, but including the +full range of characters for languages written in the Latin script, +International Phonetic Alphabet, Uralic Phonetic Alphabet and Runic. It has +regular, italic, bold and bold-italic fonts. + +WWW: http://junicode.sourceforge.net/ diff --git a/x11-fonts/junicode/pkg-plist b/x11-fonts/junicode/pkg-plist new file mode 100644 index 000000000000..0c123b225125 --- /dev/null +++ b/x11-fonts/junicode/pkg-plist @@ -0,0 +1,7 @@ +%%FONTSDIR%%/Junicode-Bold.ttf +%%FONTSDIR%%/Junicode-BoldItalic.ttf +%%FONTSDIR%%/Junicode-Italic.ttf +%%FONTSDIR%%/Junicode-Regular.ttf +@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true +@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true +@dirrm %%FONTSDIR%% |