[93248] trunk/dports/graphics/libungif

ryandesign at macports.org ryandesign at macports.org
Fri May 18 02:16:09 PDT 2012


Revision: 93248
          https://trac.macports.org/changeset/93248
Author:   ryandesign at macports.org
Date:     2012-05-18 02:16:09 -0700 (Fri, 18 May 2012)
Log Message:
-----------
libungif: finally replaced_by giflib (#17193)

Modified Paths:
--------------
    trunk/dports/graphics/libungif/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/libungif/files/

Modified: trunk/dports/graphics/libungif/Portfile
===================================================================
--- trunk/dports/graphics/libungif/Portfile	2012-05-18 09:07:36 UTC (rev 93247)
+++ trunk/dports/graphics/libungif/Portfile	2012-05-18 09:16:09 UTC (rev 93248)
@@ -4,15 +4,13 @@
 PortSystem                      1.0
 
 name                            libungif
+replaced_by                     giflib
 version                         4.1.4
-set major                       [lindex [split ${version} .] 0]
-revision                        4
+revision                        5
 categories                      graphics
 maintainers                     ryandesign
 platforms                       darwin
 homepage                        http://sourceforge.net/projects/giflib/
-master_sites                    sourceforge:project/giflib/${name}%20${major}.x/${name}-${version}
-use_bzip2                       yes
 
 description                     Tools and library routines for working with \
                                 GIF images
@@ -21,52 +19,11 @@
                                 (Saving uses an uncompressed gif algorithm\
                                 that does not use LZW compression.)
 
-checksums                       md5     76865bc1bed90ecb5992a1edcc4d6c15 \
-                                sha1    af687ffbcfe6afd1d76e33ea8cf27ffb02ed61fc \
-                                rmd160  f96782d4e305e393a22acd84317c13dc265a21f3
+distfiles
 
-patchfiles                      patch-gif_lib.h.diff
-
-configure.args                  --without-x
-
-use_parallel_build              yes
-
-set docdir                      ${prefix}/share/doc/${name}-${version}
-
-post-destroot {
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 -W ${worksrcpath} \
-        AUTHORS \
-        BUGS \
-        COPYING \
-        ChangeLog \
-        NEWS \
-        TODO \
-        UNCOMPRESSED_GIF \
-        ${destroot}${docdir}
+pre-configure {
+    ui_error "${name} has been replaced by ${replaced_by}; please install ${replaced_by} instead."
+    return -code error "obsolete port"
 }
 
-variant doc description {Install extra documentation} {
-    post-destroot {
-        xinstall -d ${destroot}${docdir}/html
-        eval xinstall -m 0644 [glob ${worksrcpath}/doc/*.{html,png,txt}] \
-            ${destroot}${docdir}/html
-    }
-}
-
-variant x11 description {Enable X support} {
-    use_autoreconf yes
-    autoreconf.args -fv
-    
-    depends_lib-append \
-        port:xorg-libsm \
-        port:xorg-libX11
-    configure.args-delete   --without-x
-}
-
-if {[variant_isset universal]} {
-    patchfiles-append   patch-ltmain.sh-universal.diff
-}
-
-livecheck.type                  sourceforge
-livecheck.regex                 /${name}-(\[0-9.\]+)${extract.suffix}
+livecheck.type                  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120518/5dc543ad/attachment.html>


More information about the macports-changes mailing list