[115661] trunk/dports/emulators/sheepshaver/Portfile
mojca at macports.org
mojca at macports.org
Wed Jan 8 10:05:07 PST 2014
Revision: 115661
https://trac.macports.org/changeset/115661
Author: mojca at macports.org
Date: 2014-01-08 10:05:07 -0800 (Wed, 08 Jan 2014)
Log Message:
-----------
sheepshaver: switch cvs->git(hub), upgrade (see #30672; port is still broken), replace no_x11->gtk (#39383)
Modified Paths:
--------------
trunk/dports/emulators/sheepshaver/Portfile
Modified: trunk/dports/emulators/sheepshaver/Portfile
===================================================================
--- trunk/dports/emulators/sheepshaver/Portfile 2014-01-08 17:56:42 UTC (rev 115660)
+++ trunk/dports/emulators/sheepshaver/Portfile 2014-01-08 18:05:07 UTC (rev 115661)
@@ -2,10 +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 sheepshaver
-cvs.date 20110101
-version 2.3-${cvs.date}
+version 2.3_git_${git_date}_${git_shasum}
categories emulators
platforms darwin
maintainers nomaintainer
@@ -21,18 +24,15 @@
homepage http://sheepshaver.cebix.net/
-fetch.type cvs
-cvs.root :pserver:anoncvs at cvs.cebix.net:/home/cvs/cebix
-cvs.password anoncvs
-cvs.module BasiliskII SheepShaver
+checksums rmd160 49ff473856b1db0ee802470f7b5d8f2d47d22e31 \
+ sha256 90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83
depends_build port:autoconf \
port:automake
-depends_lib port:libsdl \
- port:gtk2
+depends_lib port:libsdl
-worksrcdir SheepShaver/src/Unix
+worksrcdir "${worksrcdir}/SheepShaver/src/Unix"
post-extract {
file mkdir ${worksrcpath}/Darwin
@@ -41,26 +41,34 @@
patchfiles patch-Makefile.in.diff
pre-configure {
- system "cd ${worksrcpath}/../../ && make links"
- system "cd ${worksrcpath} && NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
+ system -W "${worksrcpath}/../../" "make links"
+ 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
+ --without-esd \
+ --without-gtk \
+ --without-mon
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/../../doc/Linux ${destroot}${prefix}/share/doc/${name}
}
-variant no_x11 {
- configure.args-delete --with-gtk
- configure.args-append --without-gtk
- depends_lib-delete port:gtk2
+# legacy variant - remove after January 2015
+variant no_x11 conflicts gtk description {Legacy compatibility variant} {}
+
+variant gtk conflicts no_x11 {
+ depends_lib-append port:gtk2
+ configure.args-replace --without-gtk --with-gtk
}
+if {[variant_isset no_x11]} {
+ default_variants -gtk
+} else {
+ default_variants +gtk
+}
+
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140108/04daf4be/attachment.html>
More information about the macports-changes
mailing list