import fonts/msctfonts, a no-redist port for the ClearType fonts that are
bundled with Microsoft Powerpoint Viewer, extracted in a similar way to msttfonts. OK ajacoutot@
This commit is contained in:
parent
a2bb61f03e
commit
46a9b19666
37
fonts/msctfonts/Makefile
Normal file
37
fonts/msctfonts/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/08/26 14:16:07 sthen Exp $
|
||||
|
||||
COMMENT = Microsoft ClearType fonts
|
||||
|
||||
DISTNAME = PowerPointViewer.exe
|
||||
EXTRACT_SUFX =
|
||||
PKGNAME = msctfonts-1.0
|
||||
CATEGORIES = fonts
|
||||
|
||||
# No redistribution
|
||||
PERMIT_PACKAGE_CDROM = No redistribution
|
||||
PERMIT_PACKAGE_FTP = No redistribution
|
||||
PERMIT_DISTFILES_FTP = No redistribution
|
||||
|
||||
MASTER_SITES = http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/
|
||||
|
||||
BUILD_DEPENDS = archivers/cabextract
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_TEST = Yes
|
||||
PKG_ARCH = *
|
||||
|
||||
INST_DIR = ${PREFIX}/share/fonts/msctfonts
|
||||
|
||||
EXTRACT_CASES = *.exe) cabextract --lowercase --quiet \
|
||||
--directory=${WRKDIST} -F ppviewer.cab ${DISTDIR}/${DISTNAME} ;;
|
||||
|
||||
post-extract:
|
||||
@cabextract --lowercase -F '*.TT[FC]' --directory=${WRKDIST} \
|
||||
${WRKDIST}/ppviewer.cab
|
||||
@mv ${WRKDIST}/cambria.ttc ${WRKDIST}/cambria.ttf
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${INST_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf ${INST_DIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
fonts/msctfonts/distinfo
Normal file
2
fonts/msctfonts/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PowerPointViewer.exe) = xOdTVI0wkv/X3ThJEF4KJtm1oa/kbm5mf+fGiHiTcB8=
|
||||
SIZE (PowerPointViewer.exe) = 27024112
|
4
fonts/msctfonts/pkg/DESCR
Normal file
4
fonts/msctfonts/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
The ClearType fonts that are bundled with Microsoft Powerpoint Viewer.
|
||||
The port is constructed so that the actual fonts are downloaded from
|
||||
Microsoft's site at build time so this port does not 'redistribute' the
|
||||
fonts, it just makes it easy to install them on an OpenBSD system.
|
27
fonts/msctfonts/pkg/PLIST
Normal file
27
fonts/msctfonts/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/08/26 14:16:07 sthen Exp $
|
||||
share/fonts/
|
||||
@fontdir share/fonts/msctfonts/
|
||||
share/fonts/msctfonts/calibri.ttf
|
||||
share/fonts/msctfonts/calibrib.ttf
|
||||
share/fonts/msctfonts/calibrii.ttf
|
||||
share/fonts/msctfonts/calibriz.ttf
|
||||
share/fonts/msctfonts/cambria.ttf
|
||||
share/fonts/msctfonts/cambriab.ttf
|
||||
share/fonts/msctfonts/cambriai.ttf
|
||||
share/fonts/msctfonts/cambriaz.ttf
|
||||
share/fonts/msctfonts/candara.ttf
|
||||
share/fonts/msctfonts/candarab.ttf
|
||||
share/fonts/msctfonts/candarai.ttf
|
||||
share/fonts/msctfonts/candaraz.ttf
|
||||
share/fonts/msctfonts/consola.ttf
|
||||
share/fonts/msctfonts/consolab.ttf
|
||||
share/fonts/msctfonts/consolai.ttf
|
||||
share/fonts/msctfonts/consolaz.ttf
|
||||
share/fonts/msctfonts/constan.ttf
|
||||
share/fonts/msctfonts/constanb.ttf
|
||||
share/fonts/msctfonts/constani.ttf
|
||||
share/fonts/msctfonts/constanz.ttf
|
||||
share/fonts/msctfonts/corbel.ttf
|
||||
share/fonts/msctfonts/corbelb.ttf
|
||||
share/fonts/msctfonts/corbeli.ttf
|
||||
share/fonts/msctfonts/corbelz.ttf
|
Loading…
x
Reference in New Issue
Block a user