diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index f46925f91283..3ee33b6b4b88 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -169,6 +169,7 @@ SUBDIR += noto-sc SUBDIR += noto-tc SUBDIR += nucleus + SUBDIR += office-code-pro SUBDIR += ohsnap SUBDIR += oldschool-pc-fonts SUBDIR += open-sans diff --git a/x11-fonts/office-code-pro/Makefile b/x11-fonts/office-code-pro/Makefile new file mode 100644 index 000000000000..07c3f4132488 --- /dev/null +++ b/x11-fonts/office-code-pro/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= office-code-pro +DISTVERSION= 1.004 +CATEGORIES= x11-fonts + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Customized version of the Source Code Pro font + +LICENSE= OFL11 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= fonts +USE_GITHUB= yes +GH_ACCOUNT= nathco +GH_PROJECT= Office-Code-Pro + +NO_ARCH= yes +NO_BUILD= yes + +do-install: + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/Fonts/*/TTF/*.ttf ${STAGEDIR}${FONTSDIR} + + cd ${STAGEDIR}/${PREFIX} && \ + ${FIND} ${FONTSDIR:S|^${PREFIX}/||} -type f >> ${TMPPLIST} + +.include diff --git a/x11-fonts/office-code-pro/distinfo b/x11-fonts/office-code-pro/distinfo new file mode 100644 index 000000000000..94da5aacd5a5 --- /dev/null +++ b/x11-fonts/office-code-pro/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1582752196 +SHA256 (nathco-Office-Code-Pro-1.004_GH0.tar.gz) = 9bca923d17f6c47a586d8e4567d46ccfa58fb8b8e2247b5ee2a19da1597c58f6 +SIZE (nathco-Office-Code-Pro-1.004_GH0.tar.gz) = 2910992 diff --git a/x11-fonts/office-code-pro/pkg-descr b/x11-fonts/office-code-pro/pkg-descr new file mode 100644 index 000000000000..7854743c36d8 --- /dev/null +++ b/x11-fonts/office-code-pro/pkg-descr @@ -0,0 +1,6 @@ +Office Code Pro is a customized version of Source Code Pro, the monospaced sans +serif originally created by Paul D. Hunt for Adobe Systems Incorporated. The +customizations were made specifically for text editors and coding environments, +but are still very usable in other applications. + +WWW: https://github.com/nathco/Office-Code-Pro