Contents of /trunk/extras/fontforge/fontforge-20080330-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (16 years ago) by niro
File size: 1145 byte(s)
Fri Oct 10 13:29:42 2008 UTC (16 years ago) by niro
File size: 1145 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/fontforge/fontforge-20080330-r1.smage2,v 1.1 2008/04/20 11:56:47 niro Exp $ |
2 | |
3 | PNAME="fontforge" |
4 | PVER="20080330" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-gfx" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Font editor and converter." |
11 | HOMEPAGE="http://fontforge.sourceforge.net/" |
12 | |
13 | DEPEND=">= dev-libs/libxml2-2.6.31 |
14 | >= media-libs/freetype-2 |
15 | >= media-libs/giflib-4.1 |
16 | >= media-libs/libjpeg-6b |
17 | >= media-libs/libpng-1.2 |
18 | >= media-libs/libtiff-3" |
19 | |
20 | SRCFILE="${PNAME}_full-${PVER}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude mtools |
24 | |
25 | SRC_URI=( |
26 | sourceforge://${PNAME}/${SRCFILE} |
27 | http://fontforge.sourceforge.net/cidmaps.tgz |
28 | mirror://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/cidmaps.tgz |
30 | ) |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | install -d ${BUILDDIR}/cidmaps || die |
36 | munpack cidmaps.tgz ${BUILDDIR}/cidmaps || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure --with-multilayer --without-freetype-src --with-x || die |
44 | mmake || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} || die |
50 | minstall || die |
51 | |
52 | # install cidmaps |
53 | minstallfile ${BUILDDIR}/cidmaps/\*.cidmap /usr/share/fontforge || die |
54 | |
55 | minstalldocs AUTHORS README* VERSION || die |
56 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |