[65826] trunk/dports/textproc/eblook

ryandesign at macports.org ryandesign at macports.org
Thu Apr 1 07:31:10 PDT 2010


Revision: 65826
          http://trac.macports.org/changeset/65826
Author:   ryandesign at macports.org
Date:     2010-04-01 07:31:07 -0700 (Thu, 01 Apr 2010)
Log Message:
-----------
eblook: update to 1.6.1+media-20100218, fix livecheck, simplify destroot

Modified Paths:
--------------
    trunk/dports/textproc/eblook/Portfile

Removed Paths:
-------------
    trunk/dports/textproc/eblook/files/

Modified: trunk/dports/textproc/eblook/Portfile
===================================================================
--- trunk/dports/textproc/eblook/Portfile	2010-04-01 14:04:51 UTC (rev 65825)
+++ trunk/dports/textproc/eblook/Portfile	2010-04-01 14:31:07 UTC (rev 65826)
@@ -4,9 +4,9 @@
 
 name            eblook
 set ver_main    1.6.1
-set ver_media   20080116
+set ver_media   20100218
 version         ${ver_main}-media-${ver_media}
-revision        1
+set my_version  ${ver_main}+media-${ver_media}
 categories      textproc japanese
 maintainers     nomaintainer
 description     Interactive EB interface command for searching words in CD-ROM books.
@@ -15,14 +15,13 @@
                 formats which are popular in Japan. Including the media patch.
 platforms       darwin
 homepage        http://green.ribbon.to/~ikazuhiro/lookup/lookup.html#EBLOOK
-distfiles       ${name}-${ver_main}${extract.suffix}:main \
-                ${name}-${ver_main}+media-${ver_media}.patch.gz:media
-master_sites    http://openlab.jp/edict/eblook/dist/:main \
-                http://green.ribbon.to/~ikazuhiro/lookup/files/:media
-patchfiles      patch-configure.diff
-checksums       ${name}-${ver_main}${extract.suffix} rmd160 32c37963d2627642a5799dd2a4222c511143b8d6 \
-                ${name}-${ver_main}+media-${ver_media}.patch.gz rmd160 bd4d0c42b2a62bd10dd34c03ee4a5be892b691d2
+distname        ${name}-${my_version}
+master_sites    http://green.ribbon.to/~ikazuhiro/lookup/files/
 
+checksums       md5     8ef3a23b8c21bb95426a0009be0cf2cd \
+                sha1    6eb002775272562676804b072c77ff390c90c88f \
+                rmd160  05ba9239ce3938313ef7178f371948833332a3e7
+
 depends_lib     port:eb \
                 port:gettext \
                 port:libiconv \
@@ -30,12 +29,6 @@
                 port:readline \
                 port:zlib
 
-extract.only    ${name}-${ver_main}${extract.suffix}
-worksrcdir      ${name}-${ver_main}
-post-extract {
-    system "cd ${worksrcpath} && gzip -dc ${distpath}/${name}-${ver_main}+media-${ver_media}.patch.gz | patch -p0"
-}
-
 configure.args   --infodir=${prefix}/share/info \
                  --with-readline \
                  --with-pager
@@ -46,17 +39,15 @@
 #test.target     check
 
 post-destroot {
-    xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}
-    set docs {AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION}
-    foreach f ${docs} {
-        xinstall -m 644 ${worksrcpath}/${f} ${destroot}/${prefix}/share/doc/${name}
-    }
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION ${docdir}
 
-    delete ${destroot}${prefix}/share/info/dir
+    delete ${destroot}${prefix}/share/aclocal/eb4.m4
 }
 
 universal_variant   no
 
 livecheck.type  regex
-livecheck.version ${ver_main}+media-${ver_media}
-livecheck.regex "${name}-(\[0-9.a-z\+\-\]+).patch.gz"
+livecheck.version ${my_version}
+livecheck.regex   ${name}-(\[0-9.\]+\\+media-\[0-9\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100401/5a83c9ed/attachment.html>


More information about the macports-changes mailing list