From d52ce461a662886d335947e26b1cf4e241c48dc7 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sun, 4 Jan 2015 18:08:38 +0000 Subject: [PATCH] Add a set of Microsoft fonts --- media-fonts/msttcorefonts/licenses/MSttfEULA | 94 +++++++++++++++++++ .../msttcorefonts/msttcorefonts-1.0.recipe | 75 +++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 media-fonts/msttcorefonts/licenses/MSttfEULA create mode 100644 media-fonts/msttcorefonts/msttcorefonts-1.0.recipe diff --git a/media-fonts/msttcorefonts/licenses/MSttfEULA b/media-fonts/msttcorefonts/licenses/MSttfEULA new file mode 100644 index 000000000..f836a0035 --- /dev/null +++ b/media-fonts/msttcorefonts/licenses/MSttfEULA @@ -0,0 +1,94 @@ +Microsoft TrueType Fonts +END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE +--------------------------------------------------- + +IMPORTANT - READ CAREFULLY: This Microsoft End-User License Agreement +("EULA") is a legal agreement between you (either an individual or a single +entity) and Microsoft Corporation for the Microsoft software accompanying +this EULA, which includes computer software and may include associated +media, printed materials, and "on-line" or electronic documentation +("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your rights to make and +use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of +this EULA. If you do not agree to the terms of this EULA, you may not use +the SOFTWARE PRODUCT. + +SOFTWARE PRODUCT LICENSE + +The SOFTWARE PRODUCT is protected by copyright laws and international +copyright treaties, as well as other intellectual property laws and +treaties. The SOFTWARE PRODUCT is licensed, not sold. + +1. GRANT OF LICENSE. This EULA grants you the following rights: + +· Installation and Use. You may install and use an unlimited number of +copies of the SOFTWARE PRODUCT. + +· Reproduction and Distribution. You may reproduce and distribute an +unlimited number of copies of the SOFTWARE PRODUCT; provided that each copy +shall be a true and complete copy, including all copyright and trademark +notices, and shall be accompanied by a copy of this EULA. Copies of the +SOFTWARE PRODUCT may not be distributed for profit either on a standalone +basis or included as part of your own product. + +2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS. + +· Limitations on Reverse Engineering, Decompilation, and Disassembly. +You may not reverse engineer, decompile, or disassemble the SOFTWARE +PRODUCT, except and only to the extent that such activity is expressly +permitted by applicable law notwithstanding this limitation. + +· Restrictions on Alteration. You may not rename, edit or create any +derivative works from the SOFTWARE PRODUCT, other than subsetting when +embedding them in documents. + +· Software Transfer. You may permanently transfer all of your rights +under this EULA, provided the recipient agrees to the terms of this EULA. + +· Termination. Without prejudice to any other rights, Microsoft may +terminate this EULA if you fail to comply with the terms and conditions of +this EULA. In such event, you must destroy all copies of the SOFTWARE +PRODUCT and all of its component parts. + +3. COPYRIGHT. All title and copyrights in and to the SOFTWARE PRODUCT +(including but not limited to any images, text, and "applets" incorporated +into the SOFTWARE PRODUCT), the accompanying printed materials, and any +copies of the SOFTWARE PRODUCT are owned by Microsoft or its suppliers. The +SOFTWARE PRODUCT is protected by copyright laws and international treaty +provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other +copyrighted material. + +4. U.S. GOVERNMENT RESTRICTED RIGHTS. The SOFTWARE PRODUCT and +documentation are provided with RESTRICTED RIGHTS. Use, duplication, or +disclosure by the Government is subject to restrictions as set forth in +subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer +Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the +Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as +applicable. Manufacturer is Microsoft Corporation/One Microsoft Way/Redmond, +WA 98052-6399. + +LIMITED WARRANTY + +NO WARRANTIES. Microsoft expressly disclaims any warranty for the SOFTWARE +PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as +is" without warranty of any kind, either express or implied, including, +without limitation, the implied warranties or merchantability, fitness for a +particular purpose, or noninfringement. The entire risk arising out of use +or performance of the SOFTWARE PRODUCT remains with you. + +NO LIABILITY FOR CONSEQUENTIAL DAMAGES. In no event shall Microsoft or its +suppliers be liable for any damages whatsoever (including, without +limitation, damages for loss of business profits, business interruption, +loss of business information, or any other pecuniary loss) arising out of +the use of or inability to use this Microsoft product, even if Microsoft has +been advised of the possibility of such damages. Because some +states/jurisdictions do not allow the exclusion or limitation of liability +for consequential or incidental damages, the above limitation may not apply +to you. + +MISCELLANEOUS If you acquired this product in the United States, this EULA +is governed by the laws of the State of Washington. If this product was +acquired outside the United States, then local laws may apply. Should you +have any questions concerning this EULA, or if you desire to contact +Microsoft for any reason, please contact the Microsoft subsidiary serving +your country, or write: Microsoft Sales Information Center/One Microsoft +Way/Redmond, WA 98052-6399. diff --git a/media-fonts/msttcorefonts/msttcorefonts-1.0.recipe b/media-fonts/msttcorefonts/msttcorefonts-1.0.recipe new file mode 100644 index 000000000..4b67952e5 --- /dev/null +++ b/media-fonts/msttcorefonts/msttcorefonts-1.0.recipe @@ -0,0 +1,75 @@ +SUMMARY="Microsoft's TrueType core fonts" +DESCRIPTION="A smart package of Microsoft's core fonts which were \ +once available from http://www.microsoft.com/typography/fontpack/. +It includes: +Andale Mono +Arial Black +Arial (Bold, Italic, Bold Italic) +Comic Sans MS (Bold) +Courier New (Bold, Italic, Bold Italic) +Georgia (Bold, Italic, Bold Italic) +Impact +Times New Roman (Bold, Italic, Bold Italic) +Trebuchet (Bold, Italic, Bold Italic) +Verdana (Bold, Italic, Bold Italic) +Webdings +" +HOMEPAGE="http://corefonts.sourceforge.net" +SRC_URI="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/andale32.exe#noarchive" +SRC_URI_2="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arial32.exe#noarchive" +SRC_URI_3="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arialb32.exe#noarchive" +SRC_URI_4="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/comic32.exe#noarchive" +SRC_URI_5="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/courie32.exe#noarchive" +SRC_URI_6="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/georgi32.exe#noarchive" +SRC_URI_7="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/impact32.exe#noarchive" +SRC_URI_8="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/times32.exe#noarchive" +SRC_URI_9="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/trebuc32.exe#noarchive" +SRC_URI_10="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/verdan32.exe#noarchive" +SRC_URI_11="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/wd97vwr32.exe#noarchive" +SRC_URI_12="http://sourceforge.net/projects/corefonts/files/the%20fonts/final/webdin32.exe#noarchive" +CHECKSUM_SHA256="0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970" +CHECKSUM_SHA256_2="85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6" +CHECKSUM_SHA256_3="a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8" +CHECKSUM_SHA256_4="9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e" +CHECKSUM_SHA256_5="bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384" +CHECKSUM_SHA256_6="2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301" +CHECKSUM_SHA256_7="6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb" +CHECKSUM_SHA256_8="db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab" +CHECKSUM_SHA256_9="5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9" +CHECKSUM_SHA256_10="c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96" +CHECKSUM_SHA256_11="f61126a6d17b2d126a7f31b142504dce4934f7989c55f1c13c6477b3fe80b3d2" +CHECKSUM_SHA256_12="64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a" +LICENSE="MSttfEULA" +COPYRIGHT="Microsoft Corporation" +REVISION="1" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES="msttcorefonts = $portVersion" +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES=" + coreutils + cmd:cabextract + cmd:find + " + +SOURCE_DIR="" + +BUILD() +{ + for i in `ls -d ../sources*`; do + pushd $i + mkdir -p cabcontents + cabextract --lowercase --directory=cabcontents *.exe + popd + done +} + +INSTALL() +{ + FONTDIR=$fontsDir/ttfonts + mkdir -p ${FONTDIR} + cp `find ../sources* -type f -name \*.ttf` ${FONTDIR} +}