[csw-devel] SF.net SVN: gar:[7604] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Dec 12 14:18:53 CET 2009


Revision: 7604
          http://gar.svn.sourceforge.net/gar/?rev=7604&view=rev
Author:   wahwah
Date:     2009-12-12 13:18:53 +0000 (Sat, 12 Dec 2009)

Log Message:
-----------
msttcorefonts: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/msttcorefonts/trunk/Makefile
    csw/mgar/pkg/msttcorefonts/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/msttcorefonts/

Modified: csw/mgar/pkg/msttcorefonts/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-12-12 12:29:29 UTC (rev 7601)
+++ csw/mgar/pkg/msttcorefonts/trunk/Makefile	2009-12-12 13:18:53 UTC (rev 7604)
@@ -1,185 +1,94 @@
 # Copyright 2009 OpenCSW
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
+#
+# It doesn't currently qualify for an OpenCSW package, because it puts fonts
+# into /usr/... but the advantage is that the fonts work straight away after
+# installing the package.  If a similar behavior can be achieved with fonts
+# underneath /opt/csw, the package could be better.
+#
+# This file is not intended to build a package to distribute in a binary form.
+# It's for users to build the package locally.
+FONTDIR = /usr/openwin/lib/X11/fonts/TrueType
 
-## This file contains comments to guide you through various GAR settings.
-## Please remove unnecessary comments before committing your code to the code
-## repository. The comments to remove are marked with double hashes.
-## If you want to remove them all in-place, use:
-## gsed -i -e '/^##/d' Makefile
-##
-## For more information about GAR variables, please see:
-## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
-##
-GARNAME = mypkg
-GARVERSION = 1.0
-##
-## The category that your software fits in. This is not a descriptive field, but
-## influences the build process. Depending on the CATEGORIES setting, different
-## Makefiles are included from gar/categories/ in your trunk directory, which
-## adjust the build settings for the respective category.
-##
-## Possible settings are:
-## apps, cpan, devel, gnome, java, kde, lang, lib, meta, net, python, server,
-## utils, x11, xfce, xorg, xtra
+GARNAME = msttcorefonts
+GARVERSION = 1.3_4
 CATEGORIES = lib
-##
-## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
-##
-## A longer description of the package. This is only for descriptive purposes
-## inside the Makefile and is not used elsewhere.
+DESCRIPTION = Microsoft True Type fonts
 define BLURB
-  <please fill in>
 endef
-##
-## Upstream URL that should show up in the VENDOR field as well as on
-## http://opencsw.org/packages/<packagename>.
 SPKG_SOURCEURL =
-##
-## Whitespace-separated list of URLs to download the source package from.
-## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES =
-##
-## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
-## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
-## project name of the software you wish to download.
-## SF_PROJ =
-##
-## A list of space separated patch filenames from files/ that are to be applied
-## to the extracted software before the ./configure stage. Patches need to be
-## included in the DISTFILES variable as well.
-## PATCHFILES =
-##
-## Whitespace-separated list of files which comprise this build. mGAR will look
-## for the files in the $(FILEDIR) (trunk/files) directory and on the
-## $(MASTER_SITES).
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-##
-## We define upstream file regex so we can be notifed of new upstream software release
+MASTER_SITES = $(SF_MIRRORS)
+SF_PROJ = corefonts
+EXE_FONT_FILES  = wd97vwr32.exe
+EXE_FONT_FILES += webdin32.exe
+EXE_FONT_FILES += verdan32.exe
+EXE_FONT_FILES += trebuc32.exe
+EXE_FONT_FILES += times32.exe
+EXE_FONT_FILES += impact32.exe
+EXE_FONT_FILES += georgi32.exe
+EXE_FONT_FILES += courie32.exe
+EXE_FONT_FILES += comic32.exe
+EXE_FONT_FILES += arialb32.exe
+EXE_FONT_FILES += arial32.exe
+EXE_FONT_FILES += andale32.exe
+DISTFILES  = $(EXE_FONT_FILES)
+# DISTFILES += msttcorefonts-$(GARVERSION).spec
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
-##
-## Catalog name is the name to be used with pkg{-get,util} -i <pkgname>.
-## It is different from the system package name, which by convention is CSWpkgname.
-## CATALOGNAME =
-##
-## Set to 1 to mark the package as architecture-independent.
-## ARCHALL = 0
-##
-## A list of files / patterns that should be excluded from the package. Amends
-## the default list of excluded filenames $(MERGE_EXCLUDE_DEFAULT), which
-## contains things like libtool .la files and files with a leading ~.
-## EXTRA_MERGE_EXCLUDE_FILES =
-##
-## A list of space separated package names that should be marked as
-## incompatible with the current package. This will go into the depend file.
-## When a user has one of the incompatible packages installed and installs
-## your package, he will be prompted that the incompatible package must be
-## removed. He will however not be prevented to install your package without
-## removing the conflicting package first.
-## INCOMPATIBLE_PKGS =
-##
-##  The name of the license file that should be included in your package. Defaults
-##  to COPYING. See http://sourceforge.net/apps/trac/gar/wiki/CopyRightfor details
-##  on including and displaying licenses.
-## LICENSE =
-##
-## A list of space separated package names that should be produced from your
-## Makefile. This is used when a software has different components that can be
-## packaged and used individually (think runtime libraries, client tools, server
-## files, development headers). You don't need to set this when you just want to
-## produce one package.
-##
-## When you set this variable to include more than one package, you also need to
-## set PKGFILES_CSWpkgname for each package (except for the first one in your
-## $(PACKAGES) list) to define which files go into each package. The first
-## package from $(PACKAGES) one will hold all files that are not matched by
-## PKGFILES_ for other packages.
-## PACKAGES =
-##
-## If specified, GAR feeds the almost-final package prototype file to
-## $(PROTOTYPE_FILTER) and reads the final package prototype file from it.
-## $(PROTOTYPE_FILTER) is usually a sed/awk/perl one-liner, which was mostly used
-## to prepare the prototype file for use with cswclassutils (see
-## $(SPKG_CLASSES)). Now that there are convenience variables for cswclassutils,
-## you will rarely have to use this. A still valid use case would be to change
-## the file permissions of a file to be set-UID.
-## See http://wiki.opencsw.org/cswclassutils-package for common usage information
-## PROTOTYPE_FILTER =
-##
-## cswclassutils settings
-##
-## A list of action classes. Possible values are:
-## none cswpreserveconf cswcpsampleconf cswpycompile cswusergroup cswinitsmf
-##	cswinetd cswetcservices
-## The class 'cswinitsmf' must be the last class listed. When you use cswclassutils,
-## you need to add CSWcswclassutils to REQUIRED_PKGS.
-## SPKG_CLASSES = none
-## Simplified settings for classes:
-## PRESERVECONF =
-## SAMPLECONF =
-## INITSMF =
-## USERGROUP =
-## ETCSERVICES = <file containing an entry for /etc/services>
-## INETDCONF = <file containing an inetd.conf formatted entry>
-## A list of runtime package dependencies in the form of CSWfoo.
-## REQUIRED_PKGS =
-##
-## A list of packages necessary to build this package
-## PREREQUISITE_PKGS = $(REQUIRED_PKGS)
-##
-## When using non-empty $(PACKAGES):
-## REQUIRED_PKGS_CSWpkgname =
-## SPKG_DESC_CSWpkgname =
-## PKGFILES_CSWpkgname =
-## CATALOGNAME_CSWpkgname =
-##
-## A list of space separated directories where objects should be stripped in
-## addition to the bin/ and sbin/ directories.
-## STRIP_DIRS =
-##
-## Define a custom target for the configure phase. When you set this, the target
-## that will be used instead of configure: target, is named
-## configure-$(CONFIGURE_SCRIPTS) and you will need to define it in your Makefile
-## after including gar/gar.include.mk. If you want to skip the configure phase
-## completely (for example when your software doesn't need to be compiled) assign
-## this variable an empty value. The procedure works for configure, build,
-## install and test steps.
-## CONFIGURE_SCRIPTS =
-## BUILD_SCRIPTS =
-## INSTALL_SCRIPTS =
-## TEST_SCRIPTS =
-##
-## Compilation settings
-##
-## The build directory.
-## WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)
-##
-## BUILD_ARGS is passed as an argument to gmake during the build phase. Use this
-## for example, if you need to override Makefile variables.
-## BUILD_ARGS =
-##
-## Arguments passed to the ./configure script.
-CONFIGURE_ARGS = $(DIRPATHS)
-##
-## BUILD64 =
-## CONFIGURE_ENV =
-## EXTRA_CFLAGS =
-## EXTRA_LDFLAGS =
-## EXTRA_INC =
-## EXTRA_LIB =
-## GARFLAVOR =
-## INSTALL_ARGS =
-## OPT_FLAGS_SOS = -xO3
-## OPT_FLAGS_GCC = -O2 -pipe
-##
-## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
-## GARCOMPILER = SOS11
-##
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+CATALOGNAME_MSFTcorefonts = msttcorefonts
+ARCHALL = 1
+PACKAGES = MSFTcorefonts
+PREREQUISITE_PKGS = $(REQUIRED_PKGS) CSWcabex
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = corefonts
+INSTALL_SCRIPTS = corefonts
+TEST_SCRIPTS =
 
-#include gar/category.mk
+LICENSE  = License.txt
+LICENSE += Licen.TXT
+TTF_FILES += AndaleMo.TTF
+TTF_FILES += AriBlk.TTF
+TTF_FILES += Arial.TTF
+TTF_FILES += Arialbd.TTF
+TTF_FILES += Arialbi.TTF
+TTF_FILES += Ariali.TTF
+TTF_FILES += Comic.TTF
+TTF_FILES += Comicbd.TTF
+TTF_FILES += Georgia.TTF
+TTF_FILES += Georgiab.TTF
+TTF_FILES += Georgiai.TTF
+TTF_FILES += Georgiaz.TTF
+TTF_FILES += Impact.TTF
+TTF_FILES += Times.TTF
+TTF_FILES += Timesbd.TTF
+TTF_FILES += Timesbi.TTF
+TTF_FILES += Timesi.TTF
+TTF_FILES += Trebucbd.ttf
+TTF_FILES += Verdana.TTF
+TTF_FILES += Verdanab.TTF
+TTF_FILES += Verdanai.TTF
+TTF_FILES += Verdanaz.TTF
+TTF_FILES += Webdings.TTF
+TTF_FILES += cour.ttf
+TTF_FILES += courbd.ttf
+TTF_FILES += courbi.ttf
+TTF_FILES += couri.ttf
+TTF_FILES += trebuc.ttf
+TTF_FILES += trebucbi.ttf
+TTF_FILES += trebucit.ttf
+
+include gar/category.mk
+
+build-corefonts:
+	(cd $(WORKDIR); for f in $(EXE_FONT_FILES); do \
+		cabextract $${f}; \
+	done; \
+	tree)
+	@$(MAKECOOKIE)
+
+install-corefonts:
+	ginstall -d $(DESTDIR)$(FONTDIR)
+	for f in $(TTF_FILES); do \
+		ginstall -m 644 $(WORKDIR)/$$f $(DESTDIR)$(FONTDIR); \
+	done
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/msttcorefonts/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-12-12 12:29:29 UTC (rev 7601)
+++ csw/mgar/pkg/msttcorefonts/trunk/checksums	2009-12-12 13:18:53 UTC (rev 7604)
@@ -0,0 +1,13 @@
+cbdc2fdd7d2ed0832795e86a8b9ee19a  andale32.exe
+9637df0e91703179f0723ec095a36cb5  arial32.exe
+c9089ae0c3b3d0d8c4b0a95979bb9ff0  arialb32.exe
+2b30de40bb5e803a0452c7715fc835d1  comic32.exe
+4e412c772294403ab62fb2d247d85c60  courie32.exe
+4d90016026e2da447593b41a8d8fa8bd  georgi32.exe
+7907c7dd6684e9bade91cff82683d9d7  impact32.exe
+b33f5021f68600ae65ddf24e20ec8b80  msttcorefonts-1.3-4.spec
+ed39c8ef91b9fb80f76f702568291bd5  times32.exe
+0d7ea16cac6261f8513a061fbfcdb2b5  trebuc32.exe
+12d2a75f8156e10607be1eaa8e8ef120  verdan32.exe
+efa72d3ed0120a07326ce02f051e9b42  wd97vwr32.exe
+230a1d13a365b22815f502eb24d9149b  webdin32.exe


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list