[39962] trunk/dports/x11
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 13 23:34:38 PDT 2008
Revision: 39962
http://trac.macports.org/changeset/39962
Author: ryandesign at macports.org
Date: 2008-09-13 23:34:38 -0700 (Sat, 13 Sep 2008)
Log Message:
-----------
wine, wine-devel: install the real wine binary into ${prefix}/libexec/wine; libexec is recommended for this kind of thing by "man porthier"
Modified Paths:
--------------
trunk/dports/x11/wine/Portfile
trunk/dports/x11/wine/files/winewrapper.sh
trunk/dports/x11/wine-devel/Portfile
trunk/dports/x11/wine-devel/files/winewrapper.sh
Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile 2008-09-14 04:42:05 UTC (rev 39961)
+++ trunk/dports/x11/wine/Portfile 2008-09-14 06:34:38 UTC (rev 39962)
@@ -4,6 +4,7 @@
name wine
version 1.0
+revision 1
categories x11
maintainers ryandesign jwa openmaintainer
homepage http://www.winehq.com/
@@ -65,7 +66,8 @@
}
post-destroot {
- file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/bin/wine-real
+ xinstall -d ${destroot}${prefix}/libexec/wine
+ file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
xinstall -m 755 ${filespath}/winewrapper.sh ${destroot}${prefix}/bin/wine
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
}
Modified: trunk/dports/x11/wine/files/winewrapper.sh
===================================================================
--- trunk/dports/x11/wine/files/winewrapper.sh 2008-09-14 04:42:05 UTC (rev 39961)
+++ trunk/dports/x11/wine/files/winewrapper.sh 2008-09-14 06:34:38 UTC (rev 39962)
@@ -1,4 +1,4 @@
#!/bin/sh
DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \
-"@PREFIX@/bin/wine-real" "$@"
+"@PREFIX@/libexec/wine/wine" "$@"
Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile 2008-09-14 04:42:05 UTC (rev 39961)
+++ trunk/dports/x11/wine-devel/Portfile 2008-09-14 06:34:38 UTC (rev 39962)
@@ -5,6 +5,7 @@
name wine-devel
set my_name wine
version 1.1.4
+revision 1
categories x11
maintainers ryandesign jwa openmaintainer
homepage http://www.winehq.com/
@@ -64,7 +65,8 @@
}
post-destroot {
- file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/bin/wine-real
+ xinstall -d ${destroot}${prefix}/libexec/wine
+ file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
xinstall -m 755 ${filespath}/winewrapper.sh ${destroot}${prefix}/bin/wine
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
}
Modified: trunk/dports/x11/wine-devel/files/winewrapper.sh
===================================================================
--- trunk/dports/x11/wine-devel/files/winewrapper.sh 2008-09-14 04:42:05 UTC (rev 39961)
+++ trunk/dports/x11/wine-devel/files/winewrapper.sh 2008-09-14 06:34:38 UTC (rev 39962)
@@ -1,4 +1,4 @@
#!/bin/sh
DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \
-"@PREFIX@/bin/wine-real" "$@"
+"@PREFIX@/libexec/wine/wine" "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080913/aef28e76/attachment.html
More information about the macports-changes
mailing list