Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (46 sloc) 2.42 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name ttf2pt1
version 3.4.4
categories print
platforms darwin
maintainers nomaintainer
license BSD-old BSD Permissive GPL-2+
description TrueType Font to PostScript Type 1 Converter
long_description TTF2PT1 is a modification of Andrew Weeks TTF2PFA True \
Type to PostScript Type 3 converter. Which will convert \
Most TrueType Fonts to an Adobe Type 1 .pfa file. And \
also the other font formats supported by the FreeType \
library to an Adobe Type 1 .pfa file. And the BDF fonts to \
an Adobe Type 1 .pfa file. Yet another use is as a hinting \
engine: feed it an unhinted or poorly hinted Adobe Type 1 \
font through the FreeType library and get it back with \
freshly generated hints. If you want .pfb files, don't \
despair: they can be produced too. The files produced by \
default are in human readable form, which further needs to \
be encoded with the t1utilities, to work with most \
software requiring type 1 fonts.
homepage http://${name}
master_sites sourceforge:project/ttf2pt1/ttf2pt1/${version}/
extract.suffix .tgz
checksums md5 cb143c07cc83167875ca09ea720d4932 \
sha1 936771b11a740c16a8e0adb737b54b22cca18cb2
depends_lib port:freetype
patchfiles patch-ft.c
use_configure no
variant universal {}
build.post_args CC="${}" \
CFLAGS_SYS="-I${prefix}/include \
-I${prefix}/include/freetype2 \
[get_canonical_archflags cc]" \
LIBS_SYS="-L${prefix}/lib \
-lm -lfreetype \
[get_canonical_archflags ld]"
destroot.post_args INSTDIR=${destroot}${prefix} \
MANDIR=${destroot}${prefix}/share/man/ \
# wait for HEAD changes to be merged.
# OWNER=${install.user} \
# GROUP=${}
You can’t perform that action at this time.