[31407] trunk/dports/textproc/gsed/Portfile
nox at macports.org
nox at macports.org
Thu Nov 22 08:06:16 PST 2007
Revision: 31407
http://trac.macosforge.org/projects/macports/changeset/31407
Author: nox at macports.org
Date: 2007-11-22 08:06:15 -0800 (Thu, 22 Nov 2007)
Log Message:
-----------
gsed:
* NLS is now always enabled.
* Removed an useless xinstall mode argument.
* Fixed prefix in with_default_names variant description.
Modified Paths:
--------------
trunk/dports/textproc/gsed/Portfile
Modified: trunk/dports/textproc/gsed/Portfile
===================================================================
--- trunk/dports/textproc/gsed/Portfile 2007-11-22 15:30:49 UTC (rev 31406)
+++ trunk/dports/textproc/gsed/Portfile 2007-11-22 16:06:15 UTC (rev 31407)
@@ -5,7 +5,7 @@
name gsed
set my_name sed
version 4.1.5
-revision 1
+revision 2
categories textproc
platforms darwin
maintainers nox
@@ -27,12 +27,14 @@
sha1 8e575e8a44568392d5b6e089eab5da5cdbd45885 \
rmd160 49b12e99a55c6d2e78ad236f0205e63e46444173
+depends_lib port:gettext \
+ port:libiconv
+
patchfiles patch-configure.diff
configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
- --program-prefix=gnu \
- --disable-nls
+ --program-prefix=gnu
set docdir ${prefix}/share/doc/${my_name}-${version}
@@ -41,7 +43,7 @@
move ${destroot}${prefix}/share/info/${i} ${destroot}${prefix}/share/info/gnu${i}
}
- xinstall -m 0755 -d ${destroot}${docdir}
+ xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS \
${destroot}${docdir}
}
@@ -49,19 +51,8 @@
test.run yes
test.target check
-variant nls description {Add NLS support} {
- configure.args-delete --disable-nls
-
- depends_lib-append port:gettext \
- port:libiconv
-
+variant with_default_names description {Install files without 'gnu' prefix} {
post-destroot {
- xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS ${destroot}${docdir}
- }
-}
-
-variant with_default_names description {Install files without 'g' prefix} {
- post-destroot {
foreach d {bin share/info share/man/man1} {
foreach a [glob -tails -directory ${destroot}${prefix}/${d} gnu*] {
regexp gnu(.+) $a dummy b
@@ -74,3 +65,4 @@
livecheck.check regex
livecheck.url http://ftp.gnu.org/gnu/${my_name}/?C=M&O=D
livecheck.regex ${my_name}-(\\d+\\.\\d+\\.\\d+)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/89fd63be/attachment.html
More information about the macports-changes
mailing list