mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Closes: https://trac.macports.org/ticket/69795 Use -std=gnu89 because the code uses old K&R-style declarations.
64 lines
2.3 KiB
Tcl
64 lines
2.3 KiB
Tcl
# -*- 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 t1lib
|
|
version 5.1.2
|
|
revision 3
|
|
checksums rmd160 ab22aea390356750d743c0f4b08762aa76ca2a82 \
|
|
sha256 821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59 \
|
|
size 1872534
|
|
|
|
categories devel graphics fonts
|
|
license LGPL-2+
|
|
maintainers nomaintainer
|
|
|
|
description Library for generating glyphs from Type 1 fonts
|
|
long_description \
|
|
t1lib is a library distributed under the GNU General Public Library \
|
|
License for generating character- and string-glyphs from Adobe Type 1 \
|
|
fonts under UNIX. t1lib uses most of the code of the X11 rasterizer \
|
|
donated by IBM to the X11-project. But some disadvantages of the \
|
|
rasterizer being included in X11 have been eliminated.
|
|
|
|
homepage http://www.t1lib.org/
|
|
master_sites sunsite:libs/graphics/
|
|
|
|
patchfiles implicit.patch \
|
|
implicit-int.patch \
|
|
patch-01-buffer-limit \
|
|
patch-libtool-tag.diff
|
|
|
|
configure.args --without-athena \
|
|
--without-x
|
|
|
|
configure.cflags-append \
|
|
-std=gnu89
|
|
|
|
depends_build path:bin/glibtool:libtool
|
|
build.args LIBTOOL=${prefix}/bin/glibtool
|
|
build.target without_doc
|
|
use_parallel_build no
|
|
|
|
variant x11 {
|
|
depends_lib-append port:xorg-libice \
|
|
port:xorg-libsm \
|
|
port:xorg-libX11 \
|
|
port:xorg-libXaw \
|
|
port:xorg-libXext \
|
|
port:xorg-libXmu \
|
|
port:xorg-libXt \
|
|
port:xpm
|
|
|
|
configure.args-replace --without-athena --with-athena \
|
|
--without-x --with-x
|
|
}
|
|
|
|
post-destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/
|
|
move ${destroot}${prefix}/share/${name}/doc ${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
livecheck.url "http://sunsite.unc.edu/pub/Linux/libs/graphics/?C=M;O=D"
|
|
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
|