source: trunk/dports/print/libpaper/Portfile @ 72388

Last change on this file since 72388 was 72388, checked in by takanori@…, 9 years ago

libpaper: version bump to 1.1.24

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 72388 2010-10-12 18:49:23Z takanori@macports.org $
3
4PortSystem      1.0
5
6name            libpaper
7version         1.1.24
8categories      print
9maintainers     nomaintainer
10platforms       darwin
11description     A library providing routines for paper size management
12long_description \
13                The paper library and accompanying files are intended \
14                to provide a simple way for applications to take \
15                actions based on a system- or user-specified paper size.
16
17homepage        http://packages.qa.debian.org/libp/libpaper.html
18master_sites    debian:libp/${name}/
19
20distname        ${name}_${version}
21worksrcdir      ${name}-${version}
22
23checksums       rmd160  12e7234616bfe648337381c7c07e7de7bcfbea28
24
25patchfiles      patch-lib_Makefile.in.diff
26
27post-patch {
28    set fd [open [file join ${worksrcpath}/lib paperspecs] a 0644]
29    # additional paper sizes
30    foreach {n x y} {jisb0 2920 4127
31                     jisb1 2064 2920
32                     jisb2 1460 2064
33                     jisb3 1032 1460
34                     jisb4  729 1032
35                     jisb5  516  729
36                     jisb6  363  516} {
37        puts ${fd} "${n} ${x} ${y}"
38    }
39    close ${fd}
40}
41
42configure.args  --mandir=${prefix}/share/man    \
43                --sysconfdir=${prefix}/etc
44
45livecheck.type      regex
46livecheck.regex     {"stable">([^<]+)}
Note: See TracBrowser for help on using the repository browser.