[93357] trunk/dports/lang
takeshi at macports.org
takeshi at macports.org
Sun May 20 14:18:45 PDT 2012
Revision: 93357
https://trac.macports.org/changeset/93357
Author: takeshi at macports.org
Date: 2012-05-20 14:18:42 -0700 (Sun, 20 May 2012)
Log Message:
-----------
dmd, druntime, phobos, dmd-tools: install all binary in /bin. closing #34528
Modified Paths:
--------------
trunk/dports/lang/dmd/Portfile
trunk/dports/lang/dmd-tools/Portfile
trunk/dports/lang/druntime/Portfile
trunk/dports/lang/phobos/Portfile
Modified: trunk/dports/lang/dmd/Portfile
===================================================================
--- trunk/dports/lang/dmd/Portfile 2012-05-20 20:20:38 UTC (rev 93356)
+++ trunk/dports/lang/dmd/Portfile 2012-05-20 21:18:42 UTC (rev 93357)
@@ -6,7 +6,7 @@
set dlang D-Programming-Language
github.setup ${dlang} dmd 2.059 v
-revision 4
+revision 5
categories lang
platforms darwin
supported_archs i386 x86_64
@@ -60,11 +60,9 @@
xinstall -m 644 ${worksrcpath}/docs/man/man1/dmd.conf.5 \
${destroot}${prefix}/share/man/man5
# bin
- xinstall -d -m 755 ${destroot}${prefix}/lib/${name}/bin
xinstall -m 755 -W ${destroot.dir} \
dmd idgen impcnvgen optabgen \
- ${destroot}${prefix}/lib/${name}/bin
- ln -s ${prefix}/lib/${name}/bin/dmd ${destroot}${prefix}/bin
+ ${destroot}${prefix}/bin
# samples
xinstall -d -m 755 ${destroot}${prefix}/share/${name}/samples
eval xinstall -m 644 [glob ${worksrcpath}/samples/*.d] ${destroot}${prefix}/share/${name}/samples
Modified: trunk/dports/lang/dmd-tools/Portfile
===================================================================
--- trunk/dports/lang/dmd-tools/Portfile 2012-05-20 20:20:38 UTC (rev 93356)
+++ trunk/dports/lang/dmd-tools/Portfile 2012-05-20 21:18:42 UTC (rev 93357)
@@ -41,7 +41,7 @@
use_configure no
set bin "catdoc ddemangle detab findtags rdmd tolf"
-set dmd ${prefix}/lib/dmd/bin/dmd
+set dmd ${prefix}/bin/dmd
set dflags "-O -d"
set ddocflags " -c -o- -Df"
set ddoc "macros.ddoc doc.ddoc"
@@ -61,11 +61,8 @@
}
destroot {
- xinstall -d -m 755 ${destroot}${prefix}/lib/${name}
- xinstall -d -m 755 ${destroot}${prefix}/lib/${name}/bin
foreach f "${bin} dman" {
xinstall -m 755 ${worksrcpath}/${f} \
- ${destroot}${prefix}/lib/${name}/bin
+ ${destroot}${prefix}/bin
}
- ln -s ${prefix}/lib/${name}/bin/rdmd ${destroot}${prefix}/bin
}
Modified: trunk/dports/lang/druntime/Portfile
===================================================================
--- trunk/dports/lang/druntime/Portfile 2012-05-20 20:20:38 UTC (rev 93356)
+++ trunk/dports/lang/druntime/Portfile 2012-05-20 21:18:42 UTC (rev 93357)
@@ -42,7 +42,7 @@
build.args -f posix.mak \
CC=${configure.cc} \
- DMD=${prefix}/lib/dmd/bin/dmd \
+ DMD=${prefix}/bin/dmd \
MODEL=${model} \
CFLAGS=\"${configure.cflags}\"
build.target ""
Modified: trunk/dports/lang/phobos/Portfile
===================================================================
--- trunk/dports/lang/phobos/Portfile 2012-05-20 20:20:38 UTC (rev 93356)
+++ trunk/dports/lang/phobos/Portfile 2012-05-20 21:18:42 UTC (rev 93357)
@@ -41,7 +41,7 @@
DRUNTIME=${prefix}/lib/libdruntime.a \
CC=${configure.cc} \
CFLAGS=${configure.cflags} \
- DMD=${prefix}/lib/dmd/bin/dmd \
+ DMD=${prefix}/bin/dmd \
MODEL=${model} \
BUILD=release
build.target-delete ${build.target}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120520/6742cb4e/attachment-0001.html>
More information about the macports-changes
mailing list