[65708] trunk/dports/print/libpaper/Portfile
takanori at macports.org
takanori at macports.org
Tue Mar 30 05:32:49 PDT 2010
Revision: 65708
http://trac.macports.org/changeset/65708
Author: takanori at macports.org
Date: 2010-03-30 05:32:47 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
libpaper:
- Version bump to 1.1.23+nmu2.
- Added JIS B paper sizes.
Modified Paths:
--------------
trunk/dports/print/libpaper/Portfile
Modified: trunk/dports/print/libpaper/Portfile
===================================================================
--- trunk/dports/print/libpaper/Portfile 2010-03-30 12:03:47 UTC (rev 65707)
+++ trunk/dports/print/libpaper/Portfile 2010-03-30 12:32:47 UTC (rev 65708)
@@ -4,9 +4,9 @@
PortSystem 1.0
name libpaper
-version 1.1.21
-set base_version 1.1.21
-revision 1
+set ver_main 1.1.23
+set ver_sub nmu2
+version ${ver_main}-${ver_sub}
categories print
maintainers nomaintainer
platforms darwin
@@ -20,17 +20,31 @@
master_sites http://ftp.us.debian.org/debian/pool/main/libp/${name}/ \
ftp://ftp.us.debian.org/debian/pool/main/libp/${name}/
-distfiles ${name}_${version}${extract.suffix}
+distname libpaper_${ver_main}+${ver_sub}
+worksrcdir libpaper-${ver_main}+${ver_sub}
-checksums md5 6397f8d60a157119c1de5d19e4d82436
+checksums rmd160 564b73752c01cc1f7d56cb7e54388e90d6f3aa4a
-worksrcdir ${name}-${base_version}
-
patchfiles patch-config.guess.diff \
patch-paper.c.diff \
patch-paperconf.c.diff \
patch-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}
+}
+
pre-configure { system "touch ${worksrcpath}/config.sub" }
configure.args --mandir=${prefix}/share/man \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100330/9b413cba/attachment.html>
More information about the macports-changes
mailing list