[115460] trunk/dports/emulators/basiliskii-devel

mojca at macports.org mojca at macports.org
Thu Jan 2 11:12:36 PST 2014


Revision: 115460
          https://trac.macports.org/changeset/115460
Author:   mojca at macports.org
Date:     2014-01-02 11:12:36 -0800 (Thu, 02 Jan 2014)
Log Message:
-----------
basiliskii-devel: add x11/deprecate no_x11 (#39383), switch from CVS to GitHub

Modified Paths:
--------------
    trunk/dports/emulators/basiliskii-devel/Portfile
    trunk/dports/emulators/basiliskii-devel/files/patch-src-Unix-configure.ac

Modified: trunk/dports/emulators/basiliskii-devel/Portfile
===================================================================
--- trunk/dports/emulators/basiliskii-devel/Portfile	2014-01-02 18:20:12 UTC (rev 115459)
+++ trunk/dports/emulators/basiliskii-devel/Portfile	2014-01-02 19:12:36 UTC (rev 115460)
@@ -2,9 +2,13 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
+set git_shasum      86c50b78fe
+set git_date        2013-11-05
+github.setup        cebix macemu ${git_shasum}
 name                basiliskii-devel
-version             1.0-20060314
+version             1.0_git_${git_date}_${git_shasum}
 categories          emulators
 platforms           darwin
 maintainers         nomaintainer
@@ -17,39 +21,35 @@
 
 homepage            http://basilisk.cebix.net/
 
-fetch.type          cvs
-cvs.root            :pserver:anoncvs at cvs.cebix.net:/home/cvs/cebix
-cvs.password        anoncvs
-cvs.module          BasiliskII
-cvs.date            20060314
+checksums           rmd160  49ff473856b1db0ee802470f7b5d8f2d47d22e31 \
+                    sha256  90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83
 
 depends_build       port:autoconf \
                     port:automake
 
-depends_lib         port:libsdl \
-                    port:gtk2
+depends_lib         port:libsdl
 
-worksrcdir          BasiliskII/src/Unix
-
 patchfiles          patch-src-Unix-configure.ac
 
+worksrcdir          "${worksrcdir}/BasiliskII/src/Unix"
 
 pre-configure {
-    system "cd ${worksrcpath} && NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
+    system -W ${worksrcpath} "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
 }
 
-configure.args      --enable-sdl-video --enable-sdl-audio \
-                    --disable-vosf --without-mon \
-                    --with-gtk --without-esd
+configure.args      --enable-sdl-video \
+                    --enable-sdl-audio \
+                    --disable-vosf \
+                    --without-esd \
+                    --without-gtk \
+                    --without-mon
 
-
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -W ${worksrcpath}/../../ README TECH TODO COPYING ChangeLog \
-        INSTALL     ${destroot}${prefix}/share/doc/${name}
+    xinstall -W ${worksrcpath}/../../ README TECH TODO COPYING ChangeLog INSTALL \
+                ${destroot}${prefix}/share/doc/${name}
 }
 
-
 post-activate {
     ui_msg "To use Basilisk II, you need either a 512K Mac Classic ROM image"
     ui_msg "or a 512K or 1MB 32-bit clean Macintosh ROM image. You also need"
@@ -61,13 +61,23 @@
     ui_msg "real Mac and read out its ROM."
 }
 
+# TODO: figure out how to build a native Mac OS X application
+#       (then x11 could probably be removed)
 
-variant no_x11 {
-    depends_lib-delete    port:gtk2
-    configure.args-delete --with-gtk
-    configure.args-append --without-gtk
+# legacy variant - remove after January 2015
+variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
+
+variant x11 conflicts no_x11 {
+    depends_lib-append      port:gtk2
+    configure.args-replace  --without-gtk --with-gtk
 }
 
+if {[variant_isset no_x11]} {
+    default_variants -x11
+} else {
+    default_variants +x11
+}
+
 #variant static {
 #   configure.args-append --enable-sdl-static
 #}

Modified: trunk/dports/emulators/basiliskii-devel/files/patch-src-Unix-configure.ac
===================================================================
--- trunk/dports/emulators/basiliskii-devel/files/patch-src-Unix-configure.ac	2014-01-02 18:20:12 UTC (rev 115459)
+++ trunk/dports/emulators/basiliskii-devel/files/patch-src-Unix-configure.ac	2014-01-02 19:12:36 UTC (rev 115460)
@@ -1,6 +1,6 @@
---- configure.ac.orig	2006-03-15 12:43:31.000000000 +0100
-+++ configure.ac	2006-03-15 12:51:06.000000000 +0100
-@@ -1153,13 +1153,10 @@
+--- configure.ac.orig
++++ configure.ac
+@@ -1313,13 +1313,10 @@ else
        break
        ;;
      direct)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140102/f0515c22/attachment.html>


More information about the macports-changes mailing list