[31123] trunk/dports/shells/zsh-devel/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Nov 16 07:16:43 PST 2007
Revision: 31123
http://trac.macosforge.org/projects/macports/changeset/31123
Author: nox at macports.org
Date: 2007-11-16 07:16:42 -0800 (Fri, 16 Nov 2007)
Log Message:
-----------
zsh-devel:
* Updated to love 0.7.0 (closes #13317).
* UTF-8 support is not anymore a variant.
* Removed useless {{{xinstall}}} arguments and {{{cd}}} calls.
* {{{_port}}} completion file is now installed in {{{site-functions}}}.
Modified Paths:
--------------
trunk/dports/shells/zsh-devel/Portfile
Modified: trunk/dports/shells/zsh-devel/Portfile
===================================================================
--- trunk/dports/shells/zsh-devel/Portfile 2007-11-16 14:27:00 UTC (rev 31122)
+++ trunk/dports/shells/zsh-devel/Portfile 2007-11-16 15:16:42 UTC (rev 31123)
@@ -5,7 +5,7 @@
name zsh-devel
set my_name [strsed ${name} {s/-.*//}]
version 4.3.4
-revision 1
+revision 2
categories shells
platforms darwin
maintainers nox
@@ -34,7 +34,8 @@
sourceforge:${my_name} \
http://deb.grml.org/pool/main/z/${my_name}-lovers/:love
-set love_distname zsh-lovers_0.6-5
+# Some love for zsh: http://grml.org/zsh/zsh-lovers.html
+set love_distname zsh-lovers_0.7.0
set love_distfile ${love_distname}.tar.gz
set worklovedir [strsed [strsed ${love_distname} {s/-[0-9][0-9]*$//}] {g/_/-/}]
set worklovepath ${workpath}/${worklovedir}
@@ -48,9 +49,9 @@
sha1 83d1a38112f305892393cb036058248ebbf6168e \
rmd160 768ce8ca2860139428d27a0fedf5c0724967e444 \
${love_distfile} \
- md5 6a450ea9c0e2b4b7aa61dc387413cae1 \
- sha1 4520215404f324d229482d19affd97ff7ebbcdc0 \
- rmd160 485d430fa31d3451258f42e8e188e00eeb72ae6a
+ md5 e7a4ecabe514afdf2d1a56d1e925fb86 \
+ sha1 669fd529080492819c10379ad41b7b5e7a575fd1 \
+ rmd160 16367651748e7e7102de74b1f70e5d3b59fdd867
depends_lib port:libiconv \
port:ncurses
@@ -58,6 +59,7 @@
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--with-curses-terminfo \
+ --enable-multibyte \
--enable-etcdir=${prefix}/etc
test.run yes
@@ -70,11 +72,11 @@
# .so groff directives will fail.
system "cd ${destroot}${prefix}/share/man/man1 && \
soelim -I.. zshall.1 > zshall.1.soelim"
- file rename -force \
+ move -force \
${destroot}${prefix}/share/man/man1/zshall.1.soelim \
${destroot}${prefix}/share/man/man1/zshall.1
- xinstall -m 0755 -d ${destroot}${docdir}
+ xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} ChangeLog FEATURES LICENCE NEWS README ${destroot}${docdir}
if {[variant_isset doc] || [variant_isset examples]} {
@@ -105,15 +107,12 @@
variant mp_completion description {Install port(1) completion file} {
post-destroot {
+ set sitedir ${prefix}/share/${my_name}/site-functions
xinstall -m 0644 ${filespath}/_port \
- ${destroot}${prefix}/share/${my_name}/${version}/functions
+ ${destroot}${sitedir}
}
}
-variant utf8 description {Add UTF-8 support} {
- configure.args-append --enable-multibyte
-}
-
variant pcre description {Add regular expressions support in builtin functions through PCRE} {
configure.args-append --enable-pcre
depends_lib-append port:pcre
@@ -123,12 +122,11 @@
distfiles-append [suffix ${distname}-doc]
post-destroot {
- cd ${worksrcpath}/Doc
+ xinstall -m 0644 ${worksrcpath}/Doc/zsh.pdf ${destroot}${docdir}/pdf
- xinstall -m 0644 zsh.pdf ${destroot}${docdir}/pdf
-
- xinstall -m 0755 -d ${destroot}${docdir}/html
- eval xinstall -m 0644 [glob *.html] ${destroot}${docdir}/html
+ xinstall -d ${destroot}${docdir}/html
+ eval xinstall -m 0644 [glob -directory ${worksrcpath}/Doc *.html] \
+ ${destroot}${docdir}/html
}
}
@@ -142,7 +140,7 @@
post-destroot {
proc xinstall_dir {dir destdir} {
- xinstall -m 0755 -d ${destdir}
+ xinstall -d ${destdir}
foreach {file} [glob ${dir}/*] {
if {[file isdirectory ${file}]} {
@@ -153,10 +151,8 @@
}
}
- cd ${worklovepath}
-
- xinstall -m 0644 refcard.pdf ${destroot}${docdir}/pdf
- xinstall_dir zsh_people ${destroot}${docdir}/examples
+ xinstall -m 0644 ${worklovepath}/refcard.pdf ${destroot}${docdir}/pdf
+ xinstall_dir ${worklovepath}/zsh_people ${destroot}${docdir}/examples
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071116/910e3d36/attachment-0001.html
More information about the macports-changes
mailing list