summaryrefslogtreecommitdiff
path: root/graphics/freetype-lib
diff options
context:
space:
mode:
authorjlam <jlam>2000-05-01 06:02:23 +0000
committerjlam <jlam>2000-05-01 06:02:23 +0000
commita4eee926ff88b2e1e0396aec82da25d89738fcac (patch)
tree7360e151251fa6394ca7b3d6840b5b4595dc781c /graphics/freetype-lib
parentc5f8551ef76e595a60a7042ac8fce50b3711e477 (diff)
downloadpkgsrc-a4eee926ff88b2e1e0396aec82da25d89738fcac.tar.gz
freetype-lib: FreeType library and headers only
Diffstat (limited to 'graphics/freetype-lib')
-rw-r--r--graphics/freetype-lib/Makefile12
-rw-r--r--graphics/freetype-lib/Makefile.common24
-rw-r--r--graphics/freetype-lib/files/md53
-rw-r--r--graphics/freetype-lib/files/patch-sum4
-rw-r--r--graphics/freetype-lib/patches/patch-aa27
-rw-r--r--graphics/freetype-lib/patches/patch-ab31
-rw-r--r--graphics/freetype-lib/pkg/COMMENT1
-rw-r--r--graphics/freetype-lib/pkg/DESCR5
-rw-r--r--graphics/freetype-lib/pkg/PLIST17
9 files changed, 124 insertions, 0 deletions
diff --git a/graphics/freetype-lib/Makefile b/graphics/freetype-lib/Makefile
new file mode 100644
index 00000000000..b84298592e6
--- /dev/null
+++ b/graphics/freetype-lib/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/01 06:02:23 jlam Exp $
+
+PKGNAME= freetype-lib-${FT_VERS}
+
+DEPENDS+= gettext-0.10.*:../../devel/gettext
+
+CONFIGURE_ARGS+= --without-x
+
+ALL_TARGET= ttlib ttpo
+INSTALL_TARGET= install-ttlib install-ttpo
+
+.include "../../graphics/freetype-lib/Makefile.common"
diff --git a/graphics/freetype-lib/Makefile.common b/graphics/freetype-lib/Makefile.common
new file mode 100644
index 00000000000..652e1748bc6
--- /dev/null
+++ b/graphics/freetype-lib/Makefile.common
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2000/05/01 06:02:24 jlam Exp $
+
+DISTNAME= freetype-${FT_VERS}
+FT_VERS= 1.2
+CATEGORIES= graphics textproc
+MASTER_SITES= ftp://ftp.freetype.org/pub/freetype/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.freetype.org/
+
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-locale-dir=${PREFIX}/share/locale
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
+
+FILESDIR= ${.CURDIR}/../../graphics/freetype-lib/files
+PATCHDIR= ${.CURDIR}/../../graphics/freetype-lib/patches
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/freetype-lib/files/md5 b/graphics/freetype-lib/files/md5
new file mode 100644
index 00000000000..4335dc01368
--- /dev/null
+++ b/graphics/freetype-lib/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/01 06:02:24 jlam Exp $
+
+MD5 (freetype-1.2.tar.gz) = d4821fb579c79ddbe47774d046c60dbc
diff --git a/graphics/freetype-lib/files/patch-sum b/graphics/freetype-lib/files/patch-sum
new file mode 100644
index 00000000000..c2b6e34fce9
--- /dev/null
+++ b/graphics/freetype-lib/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/01 06:02:24 jlam Exp $
+
+MD5 (patch-aa) = 49ea4d95019032b7ee9db832b954f73a
+MD5 (patch-ab) = d0d3ba2c9066e71b377a99d8101d6f44
diff --git a/graphics/freetype-lib/patches/patch-aa b/graphics/freetype-lib/patches/patch-aa
new file mode 100644
index 00000000000..e2fcf820915
--- /dev/null
+++ b/graphics/freetype-lib/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/01 06:02:25 jlam Exp $
+
+--- Makefile.in.orig Wed Aug 19 21:59:56 1998
++++ Makefile.in Mon May 1 01:27:31 2000
+@@ -9,6 +9,7 @@
+ FTPODIR = po
+
+ all: ttlib tttest ttpo
++install: install-ttlib install-tttest install-ttpo
+
+ debug: ttlibdebug tttest ttpo
+
+@@ -28,9 +29,13 @@
+ ttpo:
+ cd $(FTPODIR); $(MAKE) all
+
+-install:
++install-ttlib:
+ cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) install
++
++install-tttest:
+ cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) install
++
++install-ttpo:
+ cd $(FTPODIR); $(MAKE) install
+
+ uninstall:
diff --git a/graphics/freetype-lib/patches/patch-ab b/graphics/freetype-lib/patches/patch-ab
new file mode 100644
index 00000000000..52473d2bd51
--- /dev/null
+++ b/graphics/freetype-lib/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/01 06:02:25 jlam Exp $
+
+--- test/arch/unix/Makefile.in.orig Sat Aug 8 18:48:11 1998
++++ test/arch/unix/Makefile.in Mon May 1 01:30:24 2000
+@@ -57,11 +57,12 @@
+
+ # variables used to compile either with libtool or not
+ #
+-PROCESS = $(LIBTOOL) --mode=link $(CC) $(FT_CFLAGS)
++PROCESS = $(LIBTOOL) --mode=link $(CC) $(FT_CFLAGS) $(LDFLAGS) -lttf
+ #PROCESS = $(CC) $(FT_CFLAGS)
+
+-LIBTTF = $(top_builddir)/lib/libttf.la
++#LIBTTF = $(top_builddir)/lib/libttf.la
+ #LIBTTF =$(top_builddir)/lib/libttf.a
++LIBTTF =
+
+ .c.o:
+ $(CC) -c $(FT_CFLAGS) $<
+@@ -97,10 +98,9 @@
+ $(PROCESS) -o ftstring ftstring.o $(DISPOBJS) \
+ $(EFENCE) $(LIBTTF) $(FT_LIBS) -lX11
+
+-# ftstrpnm does not need any extra libraries
+ ftstrpnm: ftstrpnm.o common.o $(LIBTTF)
+ $(PROCESS) -o ftstrpnm ftstrpnm.o common.o \
+- $(EFENCE) $(LIBTTF)
++ $(EFENCE) $(LIBTTF) -lintl
+
+ fterror: fterror.o common.o $(LIBTTF)
+ $(PROCESS) -o fterror fterror.o common.o \
diff --git a/graphics/freetype-lib/pkg/COMMENT b/graphics/freetype-lib/pkg/COMMENT
new file mode 100644
index 00000000000..e46816f0dcf
--- /dev/null
+++ b/graphics/freetype-lib/pkg/COMMENT
@@ -0,0 +1 @@
+TrueType font rendering engine and library API
diff --git a/graphics/freetype-lib/pkg/DESCR b/graphics/freetype-lib/pkg/DESCR
new file mode 100644
index 00000000000..88e8b304ce9
--- /dev/null
+++ b/graphics/freetype-lib/pkg/DESCR
@@ -0,0 +1,5 @@
+The FreeType engine is a free and portable TrueType font rendering engine.
+It has been developed to provide TT support to a great variety of
+platforms and environments. Notice that FreeType is a *library*. It is
+*not* a font server for your preferred environment, even though it has
+been written to allow the design of many font servers.
diff --git a/graphics/freetype-lib/pkg/PLIST b/graphics/freetype-lib/pkg/PLIST
new file mode 100644
index 00000000000..fdfabeba4f2
--- /dev/null
+++ b/graphics/freetype-lib/pkg/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/01 06:02:24 jlam Exp $
+include/freetype.h
+include/fterrid.h
+include/ftnameid.h
+include/ftxcmap.h
+include/ftxerr18.h
+include/ftxgasp.h
+include/ftxkern.h
+include/ftxpost.h
+include/ftxwidth.h
+lib/libttf.a
+lib/libttf.so.3.0
+share/locale/cs/LC_MESSAGES/freetype.mo
+share/locale/de/LC_MESSAGES/freetype.mo
+share/locale/es/LC_MESSAGES/freetype.mo
+share/locale/fr/LC_MESSAGES/freetype.mo
+share/locale/nl/LC_MESSAGES/freetype.mo