summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/freetype2/Makefile70
-rw-r--r--print/freetype2/distinfo3
-rw-r--r--print/freetype2/pkg-descr10
-rw-r--r--print/freetype2/pkg-plist57
4 files changed, 140 insertions, 0 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
new file mode 100644
index 000000000..8e72f7c47
--- /dev/null
+++ b/print/freetype2/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: freetype
+# Date created: January 24, 1998
+# Whom: jseger@FreeBSD.org
+#
+# $FreeBSD$
+# $MCom: ports/print/freetype2/Makefile,v 1.22 2010/03/16 19:33:10 mezz Exp $
+#
+
+PORTNAME= freetype2
+PORTVERSION= 2.4.3
+CATEGORIES= print
+MASTER_SITES= SF/freetype/${PORTNAME}/${PORTVERSION} \
+ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/ \
+ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/ \
+ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/ \
+ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/freetype/&,} \
+ ftp://ftp.freetype.org/freetype/freetype2/
+DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A free and portable TrueType font rendering engine
+
+USE_AUTOTOOLS= libtool:22
+USE_BZIP2= yes
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
+MAKE_ENV= TOP=""
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnometarget pkgconfig ltverhack:9
+LIBTOOLFILES= builds/unix/configure
+CONFIGURE_ARGS= --disable-nls
+CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix
+
+.if defined(WITH_LCD_FILTERING)
+CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
+.endif
+
+.if defined(WITH_CJK)
+#PATCH_SITES+= http://lwj-hinet.myweb.hinet.net/ \
+# ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \
+# http://bsdchat.com/dist/firefly-cjk-patchset/
+#PATCHFILES+= cjk-freetype-2.1.10-20051219.patch.gz
+#PATCH_DIST_STRIP+= -p1
+.endif
+
+pre-everything::
+.if !defined(WITH_LCD_FILTERING)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You may want to enable LCD filtering."
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Hit Ctrl-C now and use \"make WITH_LCD_FILTERING=yes\""
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Note that there are possible patent issues related to the"
+ @${ECHO_MSG} "use of the LCD filtering technology."
+ @${ECHO_MSG}
+.endif
+
+pre-patch:
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/builds/unix/install.mk
+
+pre-configure:
+ @${REINPLACE_CMD} -e '/^LIBTOOL/s|LIBTOOL := $$(FT_LIBTOOL_DIR)/libtool|LIBTOOL := ${WRKDIR}/gnome-libtool|' \
+ ${WRKSRC}/builds/unix/unix-cc.in
+
+post-configure:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup)
+
+.include <bsd.port.mk>
diff --git a/print/freetype2/distinfo b/print/freetype2/distinfo
new file mode 100644
index 000000000..d263563a6
--- /dev/null
+++ b/print/freetype2/distinfo
@@ -0,0 +1,3 @@
+MD5 (freetype-2.4.3.tar.bz2) = 75ac7082bde7b3805dc5d6bc806fa045
+SHA256 (freetype-2.4.3.tar.bz2) = b4e626db62fd1b4549ff5d57f5eca3a41631fd6066adf8a31c11879b51249afc
+SIZE (freetype-2.4.3.tar.bz2) = 1437406
diff --git a/print/freetype2/pkg-descr b/print/freetype2/pkg-descr
new file mode 100644
index 000000000..57ec2a4c6
--- /dev/null
+++ b/print/freetype2/pkg-descr
@@ -0,0 +1,10 @@
+This includes some tools that are in FreeType 1's contrib directory.
+
+ttf2pfb: Converting TrueType fonts to the Postscript Type 1 format.
+ttf2pk: A simple conversion tool to bring TrueType quality to the
+ TeX world.
+ttf2bdf: Produce bitmapped fonts from TrueType files for your X11
+ applications.
+ttfbanner: make posters using a TrueType font
+
+WWW: http://freetype.sourceforge.net/
diff --git a/print/freetype2/pkg-plist b/print/freetype2/pkg-plist
new file mode 100644
index 000000000..fd0ccd25e
--- /dev/null
+++ b/print/freetype2/pkg-plist
@@ -0,0 +1,57 @@
+bin/freetype-config
+include/freetype2/freetype/config/ftconfig.h
+include/freetype2/freetype/config/ftheader.h
+include/freetype2/freetype/config/ftmodule.h
+include/freetype2/freetype/config/ftoption.h
+include/freetype2/freetype/config/ftstdlib.h
+include/freetype2/freetype/freetype.h
+include/freetype2/freetype/ftadvanc.h
+include/freetype2/freetype/ftbbox.h
+include/freetype2/freetype/ftbdf.h
+include/freetype2/freetype/ftbitmap.h
+include/freetype2/freetype/ftcache.h
+include/freetype2/freetype/ftchapters.h
+include/freetype2/freetype/ftcid.h
+include/freetype2/freetype/fterrdef.h
+include/freetype2/freetype/fterrors.h
+include/freetype2/freetype/ftgasp.h
+include/freetype2/freetype/ftglyph.h
+include/freetype2/freetype/ftgxval.h
+include/freetype2/freetype/ftgzip.h
+include/freetype2/freetype/ftimage.h
+include/freetype2/freetype/ftincrem.h
+include/freetype2/freetype/ftlcdfil.h
+include/freetype2/freetype/ftlist.h
+include/freetype2/freetype/ftlzw.h
+include/freetype2/freetype/ftmac.h
+include/freetype2/freetype/ftmm.h
+include/freetype2/freetype/ftmodapi.h
+include/freetype2/freetype/ftmoderr.h
+include/freetype2/freetype/ftotval.h
+include/freetype2/freetype/ftoutln.h
+include/freetype2/freetype/ftpfr.h
+include/freetype2/freetype/ftrender.h
+include/freetype2/freetype/ftsizes.h
+include/freetype2/freetype/ftsnames.h
+include/freetype2/freetype/ftstroke.h
+include/freetype2/freetype/ftsynth.h
+include/freetype2/freetype/ftsystem.h
+include/freetype2/freetype/fttrigon.h
+include/freetype2/freetype/fttypes.h
+include/freetype2/freetype/ftwinfnt.h
+include/freetype2/freetype/ftxf86.h
+include/freetype2/freetype/t1tables.h
+include/freetype2/freetype/ttnameid.h
+include/freetype2/freetype/tttables.h
+include/freetype2/freetype/tttags.h
+include/freetype2/freetype/ttunpat.h
+include/ft2build.h
+lib/libfreetype.a
+lib/libfreetype.la
+lib/libfreetype.so
+lib/libfreetype.so.9
+libdata/pkgconfig/freetype2.pc
+share/aclocal/freetype2.m4
+@dirrm include/freetype2/freetype/config
+@dirrm include/freetype2/freetype
+@dirrm include/freetype2