Skip to content

Commit

Permalink
nomaintainer ports: replace eval with {*}
Browse files Browse the repository at this point in the history
Also just remove some instances that were never needed in the first place.
  • Loading branch information
jmroot committed Feb 9, 2017
1 parent e585888 commit 286798b
Show file tree
Hide file tree
Showing 154 changed files with 237 additions and 237 deletions.
2 changes: 1 addition & 1 deletion aqua/DesktopManager/Portfile
Expand Up @@ -30,7 +30,7 @@ post-destroot {
copy "${worksrcpath}/build/UninstalledProducts/Desktop Manager.app" \
${destroot}${applications_dir}

eval delete [glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
delete {*}[glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
}

livecheck.type regex
Expand Down
2 changes: 1 addition & 1 deletion aqua/TeXShop/Portfile
Expand Up @@ -59,7 +59,7 @@ xcode.build.settings FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
CONFIGURATION_BUILD_DIR=${worksrcpath}/build

destroot.target ${name}
eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
xcode.destroot.settings INSTALL_MODE_FLAG=755 {*}${xcode.build.settings}
post-destroot {
file delete -force ${destroot}${applications_dir}/TeX.mdimporter

Expand Down
2 changes: 1 addition & 1 deletion archivers/ecm/Portfile
Expand Up @@ -42,7 +42,7 @@ destroot {

set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
eval xinstall -m 0644 [glob ${worksrcpath}/*.txt] ${destroot}${docdir}
xinstall -m 0644 {*}[glob ${worksrcpath}/*.txt] ${destroot}${docdir}
}

variant universal {}
Expand Down
2 changes: 1 addition & 1 deletion archivers/gzrecover/Portfile
Expand Up @@ -26,7 +26,7 @@ depends_lib port:zlib

post-patch {
foreach {var} {CFLAGS LDFLAGS} {
eval reinplace -E "\"/^${var}/s|\\\\+=|= \${${var}}|\"" ${worksrcpath}/Makefile
reinplace -E "\"/^${var}/s|\\\\+=|= \${${var}}|\"" ${worksrcpath}/Makefile
}
}

Expand Down
2 changes: 1 addition & 1 deletion archivers/lha/Portfile
Expand Up @@ -39,7 +39,7 @@ post-destroot {
xinstall -m 755 -d ${destroot}${docdir}/olddoc
xinstall -m 0644 -W ${worksrcpath} ChangeLog Hacking_of_LHa header.doc.euc \
${destroot}${docdir}
eval xinstall -m 0644 [glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] \
xinstall -m 0644 {*}[glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] \
${destroot}${docdir}/olddoc

xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
Expand Down
2 changes: 1 addition & 1 deletion archivers/libzzip/Portfile
Expand Up @@ -55,7 +55,7 @@ post-destroot {
xinstall -m 0644 -W ${worksrcpath} COPYING.LIB ChangeLog README TODO \
${destroot}${docdir}

eval xinstall -m 0644 [glob -directory ${worksrcpath}/docs "*.{css,htm}"] \
xinstall -m 0644 {*}[glob -directory ${worksrcpath}/docs "*.{css,htm}"] \
${destroot}${docdir}/html

# We replace every soelim stub with a soft link, as ".so" groff directives
Expand Down
2 changes: 1 addition & 1 deletion archivers/unzip/Portfile
Expand Up @@ -43,7 +43,7 @@ pre-build {
build.args-append LOCAL_UNZIP="${localflags}"
}

eval destroot.args ${build.args} \
destroot.args {*}${build.args} \
BINDIR=${destroot}${prefix}/bin \
MANDIR=${destroot}${prefix}/share/man/man1

Expand Down
2 changes: 1 addition & 1 deletion audio/libsdl_sound-framework/Portfile
Expand Up @@ -53,7 +53,7 @@ xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} \
LIBRARY_SEARCH_PATHS=$prefix/lib

xcode.destroot.type framework
eval xcode.destroot.settings ${xcode.build.settings}
xcode.destroot.settings {*}${xcode.build.settings}

universal_variant no

Expand Down
10 changes: 5 additions & 5 deletions audio/palmkit/Portfile
Expand Up @@ -42,12 +42,12 @@ set src_docdir ${install_srcdir}/doc
set dest_docdir ${destroot}${prefix}/share/doc/${name}

post-destroot {
eval xinstall -m 755 [glob ${install_srcdir}/bin/*] ${destroot}${prefix}/bin
eval xinstall -m 644 [glob ${install_srcdir}/include/*] ${destroot}${prefix}/include
eval xinstall -m 644 [glob ${install_srcdir}/lib/*] ${destroot}${prefix}/lib
xinstall -m 755 {*}[glob ${install_srcdir}/bin/*] ${destroot}${prefix}/bin
xinstall -m 644 {*}[glob ${install_srcdir}/include/*] ${destroot}${prefix}/include
xinstall -m 644 {*}[glob ${install_srcdir}/lib/*] ${destroot}${prefix}/lib
file mkdir ${dest_docdir}
eval xinstall -m 644 [glob ${install_srcdir}/doc/*.eps] ${dest_docdir}
eval xinstall -m 644 [glob ${install_srcdir}/doc/*.png] ${dest_docdir}
xinstall -m 644 {*}[glob ${install_srcdir}/doc/*.eps] ${dest_docdir}
xinstall -m 644 {*}[glob ${install_srcdir}/doc/*.png] ${dest_docdir}
# Convert text encodings to UTF-8.
foreach html_path [glob -directory ${src_docdir} *.html] {
set html [file tail ${html_path}]
Expand Down
4 changes: 2 additions & 2 deletions audio/sphinxtrain/Portfile
Expand Up @@ -36,8 +36,8 @@ post-build {
}

destroot {
eval xinstall -m 755 [glob ${worksrcpath}/bin.*/*] ${destroot}${prefix}/bin
eval xinstall -m 644 [glob ${worksrcpath}/lib.*/*] ${destroot}${prefix}/lib
xinstall -m 755 {*}[glob ${worksrcpath}/bin.*/*] ${destroot}${prefix}/bin
xinstall -m 644 {*}[glob ${worksrcpath}/lib.*/*] ${destroot}${prefix}/lib

system "cd ${worksrcpath}/python && ${python.bin} setup.py --no-user-cfg install --prefix=${python.prefix} --root=${destroot}"

Expand Down
2 changes: 1 addition & 1 deletion cross/wxmsw/Portfile
Expand Up @@ -42,7 +42,7 @@ post-extract {

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/*.txt] \
xinstall -m 644 {*}[glob ${worksrcpath}/*.txt] \
${destroot}${prefix}/share/doc/${name}
}

Expand Down
12 changes: 6 additions & 6 deletions databases/cassandra/Portfile
Expand Up @@ -67,29 +67,29 @@ destroot {
xinstall -m 755 -d ${cas_home}/lib ${doc_dir}

# move in docs
eval move [glob ${worksrcpath}/*.txt] ${doc_dir}/
move {*}[glob ${worksrcpath}/*.txt] ${doc_dir}/

# fix cassandra include file
move ${worksrcpath}/bin/cassandra.in.sh ${cas_home}/
reinplace "s|CASSANDRA_HOME=.*|CASSANDRA_HOME=${cassandra_destpath}|" ${cas_home}/cassandra.in.sh

# install bin scripts
eval delete [glob ${worksrcpath}/bin/*.bat]
eval reinplace "s|/opt/cassandra/cassandra.in.sh|${cassandra_destpath}/cassandra.in.sh|" [glob ${worksrcpath}/bin/*]
eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin
delete {*}[glob ${worksrcpath}/bin/*.bat]
reinplace "s|/opt/cassandra/cassandra.in.sh|${cassandra_destpath}/cassandra.in.sh|" {*}[glob ${worksrcpath}/bin/*]
xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin

# install jars
xinstall -m 644 ${worksrcpath}/build/apache-${name}-${version}-SNAPSHOT.jar \
${cas_home}/lib/${name}.jar
xinstall -m 644 ${worksrcpath}/build/apache-${name}-thrift-${version}-SNAPSHOT.jar \
${cas_home}/lib/${name}-thrift.jar
eval xinstall -m 644 [glob ${worksrcpath}/lib/*.jar] ${cas_home}/lib/
xinstall -m 644 {*}[glob ${worksrcpath}/lib/*.jar] ${cas_home}/lib/

# install conf, interface
move ${worksrcpath}/conf ${worksrcpath}/interface ${cas_home}

# update file storage location to be within Macports hierarchy
eval reinplace "s|/var|${prefix}/var|g" [glob ${cas_home}/conf/*]
reinplace "s|/var|${prefix}/var|g" {*}[glob ${cas_home}/conf/*]

reinplace "s|/var/lib/cassandra|/var/db/cassandra|g" ${cas_home}/conf/cassandra.yaml
}
Expand Down
4 changes: 2 additions & 2 deletions devel/curlhandle/Portfile
Expand Up @@ -25,7 +25,7 @@ build.dir ${patch.dir}

post-extract {
# Replace the bundled curl library with ours.
eval delete [glob ${build.dir}/*dylib*]
delete {*}[glob ${build.dir}/*dylib*]
ln -s ${prefix}/lib/libcurl.dylib ${build.dir}
}

Expand All @@ -41,5 +41,5 @@ post-destroot {
delete ${destroot}${framework}/Versions/Current/Frameworks/libcurl.dylib
set docdir ${framework}/Versions/Current/Resources/Documentation
xinstall -d ${destroot}${docdir}
eval xinstall -m 0644 [glob ${worksrcpath}/Documentation/*.html] ${destroot}${docdir}
xinstall -m 0644 {*}[glob ${worksrcpath}/Documentation/*.html] ${destroot}${docdir}
}
4 changes: 2 additions & 2 deletions devel/cvsweb/Portfile
Expand Up @@ -61,8 +61,8 @@ destroot {
file mkdir ${destroot}${css_path}
xinstall -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}
xinstall -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}
eval xinstall -m 755 [glob ${worksrcpath}/icons/*] ${destroot}${icons_path}
eval xinstall -m 755 [glob ${worksrcpath}/css/*] ${destroot}${css_path}
xinstall -m 755 {*}[glob ${worksrcpath}/icons/*] ${destroot}${icons_path}
xinstall -m 755 {*}[glob ${worksrcpath}/css/*] ${destroot}${css_path}

reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
"${destroot}${cgi_path}/cvsweb.cgi"
Expand Down
4 changes: 2 additions & 2 deletions devel/dbus-python/Portfile
Expand Up @@ -104,7 +104,7 @@ foreach python_version ${python_versions} {
set docdir ${prefix}/share/doc/${subport}
set exdir ${docdir}/examples
xinstall -d ${destroot}${exdir}
eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${destroot}${exdir}
xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] ${destroot}${exdir}
}
}

Expand Down Expand Up @@ -138,7 +138,7 @@ foreach python_version ${python_versions} {
set docdir ${prefix}/share/doc/${subport}
set apidir ${docdir}/api
xinstall -d ${destroot}${apidir}
eval xinstall -m 644 [glob ${worksrcpath}/api/*] ${destroot}${apidir}
xinstall -m 644 {*}[glob ${worksrcpath}/api/*] ${destroot}${apidir}
}
}

Expand Down
2 changes: 1 addition & 1 deletion devel/expect/Portfile
Expand Up @@ -66,7 +66,7 @@ test.target test
post-destroot { ln -s expect${version}/libexpect${version}.a ${destroot}${prefix}/lib/libexpect.a

file mkdir ${destroot}${prefix}/share/doc/${name}/examples
eval xinstall -m 644 [glob ${worksrcpath}/example/*] \
xinstall -m 644 {*}[glob ${worksrcpath}/example/*] \
${destroot}${prefix}/share/doc/${name}/examples

xinstall -m 644 -W ${worksrcpath} ChangeLog FAQ INSTALL NEWS README \
Expand Down
2 changes: 1 addition & 1 deletion devel/fairthreads/Portfile
Expand Up @@ -41,7 +41,7 @@ destroot.destdir LIB_DIR=${destroot}${prefix}/lib \
post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
eval xinstall -m 644 [glob -path ${worksrcpath}/../doc/ *.html] ${destroot}${docdir}
xinstall -m 644 {*}[glob -path ${worksrcpath}/../doc/ *.html] ${destroot}${docdir}
}

universal_variant no
Expand Down
2 changes: 1 addition & 1 deletion devel/ffcall/Portfile
Expand Up @@ -40,6 +40,6 @@ use_parallel_build no
supported_archs i386 ppc
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
eval move [glob ${destroot}${prefix}/share/html/*] \
move {*}[glob ${destroot}${prefix}/share/html/*] \
${destroot}${prefix}/share/doc/${name}
}
2 changes: 1 addition & 1 deletion devel/git-extras/Portfile
Expand Up @@ -29,7 +29,7 @@ destroot.destdir PREFIX=${destroot}${prefix}
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
eval xinstall -m 644 [glob ${worksrcpath}/man/*.html] ${docdir}
xinstall -m 644 {*}[glob ${worksrcpath}/man/*.html] ${docdir}
}

pre-activate {
Expand Down
2 changes: 1 addition & 1 deletion devel/griffon-devel/Portfile
Expand Up @@ -58,7 +58,7 @@ destroot {
${destroot}${prefix}/share/java/${name}/

xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/bin
eval xinstall -m 755 [glob ${worksrcpath}/griffon-${version}/bin/*] ${destroot}${prefix}/share/java/${name}/bin
xinstall -m 755 {*}[glob ${worksrcpath}/griffon-${version}/bin/*] ${destroot}${prefix}/share/java/${name}/bin

# Symlink programs into the bin directory
ln -s ${prefix}/share/java/${name}/bin/griffon ${destroot}${prefix}/bin
Expand Down
2 changes: 1 addition & 1 deletion devel/griffon/Portfile
Expand Up @@ -57,7 +57,7 @@ destroot {
${destroot}${prefix}/share/java/${name}/

xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/bin
eval xinstall -m 755 [glob ${worksrcpath}/griffon-${version}/bin/*] ${destroot}${prefix}/share/java/${name}/bin
xinstall -m 755 {*}[glob ${worksrcpath}/griffon-${version}/bin/*] ${destroot}${prefix}/share/java/${name}/bin

# Symlink programs into the bin directory
ln -s ${prefix}/share/java/${name}/bin/griffon ${destroot}${prefix}/bin
Expand Down
6 changes: 3 additions & 3 deletions devel/lua-cgilua/Portfile
Expand Up @@ -37,13 +37,13 @@ post-destroot {
${destroot}${prefix}/bin

# documentation
eval file copy ${worksrcpath}/README \
file copy ${worksrcpath}/README \
${worksrcpath}/doc/br \
[glob ${worksrcpath}/doc/us/*] \
{*}[glob ${worksrcpath}/doc/us/*] \
${destroot}${prefix}/share/doc/${name}

# examples
eval file copy [glob ${worksrcpath}/examples/*] \
file copy {*}[glob ${worksrcpath}/examples/*] \
${worksrcpath}/tests \
${destroot}${prefix}/share/examples/${name}

Expand Down
4 changes: 2 additions & 2 deletions devel/lua-copas/Portfile
Expand Up @@ -31,6 +31,6 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
}
2 changes: 1 addition & 1 deletion devel/lua-coxpcall/Portfile
Expand Up @@ -30,5 +30,5 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
}
4 changes: 2 additions & 2 deletions devel/lua-lua-gd/Portfile
Expand Up @@ -41,9 +41,9 @@ pre-destroot {
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/examples/${name}
eval copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
copy {*}[glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYING README \
${destroot}${prefix}/share/doc/${name}
eval copy [glob ${worksrcpath}/demos/*] \
copy {*}[glob ${worksrcpath}/demos/*] \
${destroot}${prefix}/share/examples/${name}
}
4 changes: 2 additions & 2 deletions devel/lua-luafilesystem/Portfile
Expand Up @@ -43,7 +43,7 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
}

8 changes: 4 additions & 4 deletions devel/lua-luajson/Portfile
Expand Up @@ -39,8 +39,8 @@ destroot {
${destroot}${lua_lmod}/json/decode \
${destroot}${lua_lmod}/json/encode

eval xinstall -m 644 [glob ${worksrcpath}/lua/*.lua] ${destroot}${lua_lmod}
eval xinstall -m 644 [glob ${worksrcpath}/lua/json/*.lua] ${destroot}${lua_lmod}/json
eval xinstall -m 644 [glob ${worksrcpath}/lua/json/encode/*.lua] ${destroot}${lua_lmod}/json/encode
eval xinstall -m 644 [glob ${worksrcpath}/lua/json/decode/*.lua] ${destroot}${lua_lmod}/json/decode
xinstall -m 644 {*}[glob ${worksrcpath}/lua/*.lua] ${destroot}${lua_lmod}
xinstall -m 644 {*}[glob ${worksrcpath}/lua/json/*.lua] ${destroot}${lua_lmod}/json
xinstall -m 644 {*}[glob ${worksrcpath}/lua/json/encode/*.lua] ${destroot}${lua_lmod}/json/encode
xinstall -m 644 {*}[glob ${worksrcpath}/lua/json/decode/*.lua] ${destroot}${lua_lmod}/json/decode
}
2 changes: 1 addition & 1 deletion devel/lua-luasocket/Portfile
Expand Up @@ -58,7 +58,7 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW \
${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test \
Expand Down
4 changes: 2 additions & 2 deletions devel/lua-md5/Portfile
Expand Up @@ -27,7 +27,7 @@ patchfiles patch-config.diff \
patch-tests-DES56-Makefile.diff

post-patch {
eval file copy [glob -directory ${worksrcpath}/src des56.{h,c}] ${worksrcpath}/tests/DES56
file copy {*}[glob -directory ${worksrcpath}/src des56.{h,c}] ${worksrcpath}/tests/DES56

# clang doesn't support -O6
if {[vercmp $xcodeversion 4.1] >= 0} {
Expand All @@ -52,7 +52,7 @@ post-build {

post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 ${worksrcpath}/README [glob ${worksrcpath}/doc/us/*] \
xinstall -m 644 ${worksrcpath}/README {*}[glob ${worksrcpath}/doc/us/*] \
${destroot}${prefix}/share/doc/${name}

xinstall -d ${destroot}${prefix}/share/examples/${name}
Expand Down
4 changes: 2 additions & 2 deletions devel/lua-rings/Portfile
Expand Up @@ -35,8 +35,8 @@ build.env-append CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \

post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
eval file copy ${worksrcpath}/README \
[glob ${worksrcpath}/doc/us/*] \
file copy ${worksrcpath}/README \
{*}[glob ${worksrcpath}/doc/us/*] \
${destroot}${prefix}/share/doc/${name}

xinstall -d ${destroot}${prefix}/share/examples/${name}
Expand Down
4 changes: 2 additions & 2 deletions devel/lua-wsapi/Portfile
Expand Up @@ -42,8 +42,8 @@ destroot.post_args-append PREFIX=${prefix}

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 ${worksrcpath}/README \
[glob ${worksrcpath}/doc/us/*] \
xinstall -m 644 ${worksrcpath}/README \
{*}[glob ${worksrcpath}/doc/us/*] \
${destroot}${prefix}/share/doc/${name}

xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
Expand Down
2 changes: 1 addition & 1 deletion devel/lua-xavante/Portfile
Expand Up @@ -32,7 +32,7 @@ post-destroot {
file copy ${worksrcpath}/src/codeweb ${worksrcpath}/src/webdav ${destroot}${prefix}/share/lua/5.1
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}

xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
file copy ${worksrcpath}/examples ${worksrcpath}/web ${destroot}${prefix}/share/examples/${name}
Expand Down
2 changes: 1 addition & 1 deletion devel/mono/Portfile
Expand Up @@ -95,7 +95,7 @@ post-destroot {

set libgc_docdir ${prefix}/share/doc/ligbc-mono-6.6

eval move ${destroot}${prefix}/share/libgc-mono \
move ${destroot}${prefix}/share/libgc-mono \
${destroot}${libgc_docdir}

xinstall -d ${destroot}${libgc_docdir}/html
Expand Down
2 changes: 1 addition & 1 deletion devel/perforce/Portfile
Expand Up @@ -36,7 +36,7 @@ checksums p4 md5 4170d202a4bda079e334c7dc5c37c417 \

extract.mkdir yes
extract {
eval copy [glob ${distpath}/*] ${worksrcpath}
copy {*}[glob ${distpath}/*] ${worksrcpath}
}

use_configure no
Expand Down
2 changes: 1 addition & 1 deletion devel/qca/Portfile
Expand Up @@ -122,7 +122,7 @@ variant examples description \
{Include examples in install} {
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/${subport}/examples/
eval file copy [glob ${worksrcpath}/examples/*] \
file copy {*}[glob ${worksrcpath}/examples/*] \
${destroot}${prefix}/share/${subport}/examples/
}
}
Expand Down

0 comments on commit 286798b

Please sign in to comment.