# -*- 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 # $Id: Portfile 76391 2011-02-22 02:23:57Z jmr@macports.org $ PortSystem 1.0 name libpaper version 1.1.24 categories print license GPL-2 maintainers nomaintainer platforms darwin description A library providing routines for paper size management long_description \ The paper library and accompanying files are intended \ to provide a simple way for applications to take \ actions based on a system- or user-specified paper size. homepage http://packages.qa.debian.org/libp/libpaper.html master_sites debian:libp/${name}/ distname ${name}_${version} worksrcdir ${name}-${version} checksums rmd160 12e7234616bfe648337381c7c07e7de7bcfbea28 patchfiles patch-lib_Makefile.in.diff post-patch { set fd [open [file join ${worksrcpath}/lib paperspecs] a 0644] # additional paper sizes foreach {n x y} {jisb0 2920 4127 jisb1 2064 2920 jisb2 1460 2064 jisb3 1032 1460 jisb4 729 1032 jisb5 516 729 jisb6 363 516} { puts ${fd} "${n} ${x} ${y}" } close ${fd} } configure.args --mandir=${prefix}/share/man \ --sysconfdir=${prefix}/etc livecheck.type regex livecheck.regex {"stable">([^<]+)}