[103673] trunk/dports/devel/libftdi/Portfile

snc at macports.org snc at macports.org
Mon Mar 4 08:24:31 PST 2013


Revision: 103673
          https://trac.macports.org/changeset/103673
Author:   snc at macports.org
Date:     2013-03-04 08:24:31 -0800 (Mon, 04 Mar 2013)
Log Message:
-----------
libftdi: epoch libftdi and replace with libftdi0, add libftdi1

Modified Paths:
--------------
    trunk/dports/devel/libftdi/Portfile

Modified: trunk/dports/devel/libftdi/Portfile
===================================================================
--- trunk/dports/devel/libftdi/Portfile	2013-03-04 15:12:20 UTC (rev 103672)
+++ trunk/dports/devel/libftdi/Portfile	2013-03-04 16:24:31 UTC (rev 103673)
@@ -2,10 +2,15 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           cmake 1.0
 
 name                libftdi
-version             1.0
+if {${name} == ${subport}} {
+    replaced_by         libftdi0
+    PortGroup           obsolete 1.0
+    epoch               1
+    
+}
+version             0.20
 categories          devel
 license             GPL-2+
 maintainers         snc openmaintainer
@@ -17,13 +22,27 @@
 homepage            http://www.intra2net.com/en/developer/libftdi/
 platforms           darwin
 master_sites        http://www.intra2net.com/en/developer/libftdi/download/
+depends_build-append    port:pkgconfig
+depends_lib-append  port:libusb-compat
+                    
 
-distname            libftdi1-${version}
-use_bzip2           yes
 
-depends_build-append    port:pkgconfig
-depends_lib-append  port:libconfuse \
-                    port:libusb-compat
+subport             libftdi0 {
+    epoch               0
+    distname            libftdi-${version}
+    checksums           rmd160  7406f831a6d7b3ccf8e246504f7275a5208f94e9 \
+                        sha256  3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
+}
 
-checksums           rmd160  288ca78807455be6c2625a98cc5b313638d7a903 \
-                    sha256  7290fd38208d8c00d25ed13ce172aaa0403b37148080e4a33a99837022d2b321
+subport             libftdi1 {
+    PortGroup           cmake 1.0
+
+    epoch               0
+    version             1.0
+    use_bzip2           yes
+
+    depends_lib-append  port:libconfuse
+
+    checksums           rmd160  288ca78807455be6c2625a98cc5b313638d7a903 \
+                        sha256  7290fd38208d8c00d25ed13ce172aaa0403b37148080e4a33a99837022d2b321
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130304/54526173/attachment.html>


More information about the macports-changes mailing list