[28100] trunk/dports/tex/tetex-frogg/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Aug 20 18:06:41 PDT 2007


Revision: 28100
          http://trac.macosforge.org/projects/macports/changeset/28100
Author:   vinc17 at macports.org
Date:     2007-08-20 18:06:41 -0700 (Mon, 20 Aug 2007)

Log Message:
-----------
Bump to version 0.4-3 and added livecheck support.

Modified Paths:
--------------
    trunk/dports/tex/tetex-frogg/Portfile

Modified: trunk/dports/tex/tetex-frogg/Portfile
===================================================================
--- trunk/dports/tex/tetex-frogg/Portfile	2007-08-21 00:25:26 UTC (rev 28099)
+++ trunk/dports/tex/tetex-frogg/Portfile	2007-08-21 01:06:41 UTC (rev 28100)
@@ -3,7 +3,8 @@
 PortSystem 1.0
 
 name                tetex-frogg
-version             0.4
+set base_version    0.4
+version             ${base_version}-3
 categories          tex print
 maintainers         vincent-opdarw at vinc17.org
 
@@ -11,20 +12,30 @@
 long_description    Little collection of French LaTeX/BiBTeX styles: \
                     fr-plain.bst, frmath.sty, lettre.cls.
 
-distname            ${name}_${version}.orig
-worksrcdir          ${name}-${version}
+distname            ${name}_${base_version}.orig
+worksrcdir          ${name}-${base_version}
 
 homepage            http://packages.debian.org/unstable/tex/tetex-frogg
+master_sites        http://ftp.debian.org/debian/pool/main/t/tetex-frogg
 
-master_sites        http://ftp.debian.org/debian/pool/main/t/tetex-frogg
+set dist_file ${distname}${extract.suffix}
+set diff_file ${name}_${version}.diff.gz
 checksums \
-        ${distname}${extract.suffix} md5 a0371304008212bb53589a7b9363dd35 \
-        ${name}_${version}-2.diff.gz md5 54320efadcf71296cec62f6a0b408103
+    ${dist_file} md5 a0371304008212bb53589a7b9363dd35 \
+    ${dist_file} sha1 ba28aba7177d942bf2f36d0725643e06d09e89ff \
+    ${dist_file} rmd160 caecf99841c7ac3c7bef358eaac70285508b6a9e \
+    ${diff_file} md5 264825932e370d73696e2b496e469aee \
+    ${diff_file} sha1 1b41ebc9cae46f521f8812748a5878228ef09c4d \
+    ${diff_file} rmd160 16f5761ebe47a5e50cd3182e781d56c7cdf29039
 
 patch_sites         http://ftp.debian.org/debian/pool/main/t/tetex-frogg
-patchfiles          ${name}_${version}-2.diff.gz
+patchfiles          ${diff_file}
 patch.args          -p1
 
+livecheck.check     regex
+livecheck.url       ${master_sites}/?M=D
+livecheck.regex     ${name}_(\[-0-9.\]+)_all\.deb
+
 use_configure       no
 build               {}
 
@@ -39,7 +50,8 @@
     ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/default.ins
   xinstall -m 644 ${worksrcpath}/lettre/inputs/lettre.cls_2.346 \
     ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls_2.346
-  system "ln -s lettre.cls_2.346 ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls"
+  system "ln -s lettre.cls_2.346 \
+    ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls"
 }
 
 post-activate   { system "mktexlsr" }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070820/2bada0c0/attachment.html


More information about the macports-changes mailing list