[28763] trunk/dports/devel/m4/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 8 08:34:21 PDT 2007
Revision: 28763
http://trac.macosforge.org/projects/macports/changeset/28763
Author: nox at macports.org
Date: 2007-09-08 08:34:20 -0700 (Sat, 08 Sep 2007)
Log Message:
-----------
m4:
* with_default_names is not anymore a dummy variant.
* Added standard doc install.
* Use MacPorts TCL shortcuts instead of {{{file}}}.
* Added test support.
* Reworked livecheck regex.
* Removed useless configure arg.
Modified Paths:
--------------
trunk/dports/devel/m4/Portfile
Modified: trunk/dports/devel/m4/Portfile
===================================================================
--- trunk/dports/devel/m4/Portfile 2007-09-08 14:27:27 UTC (rev 28762)
+++ trunk/dports/devel/m4/Portfile 2007-09-08 15:34:20 UTC (rev 28763)
@@ -1,12 +1,14 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+
name m4
version 1.4.9
categories devel
-maintainers blair openmaintainer at macports.org
+maintainers blair openmaintainer
platforms darwin
-description GNU macro processor
+description GNU macro processor
+
long_description \
GNU `m4' is an implementation of the traditional Unix macro \
processor. It is mostly SVR4 compatible, although it has some \
@@ -14,19 +16,33 @@
to macros). `m4' also has built-in functions for including files, \
running shell commands, doing arithmetic, etc. Autoconf needs GNU \
`m4' for generating `configure' scripts, but not for running them.
+
homepage http://www.gnu.org/software/m4/
master_sites gnu
use_bzip2 yes
+
checksums md5 bcfaf47194491a7a8b8d3c2811570b93 \
sha1 28b8493688ceb752ee5a96ea8fc3a335cf44beb6 \
rmd160 5a9b3d5a607f36c02aa818d5ded5b151f2b182e0
-configure.args --infodir=${prefix}/share/info \
- --program-prefix=g
+
+configure.args --program-prefix=g
+
post-destroot {
- cd ${destroot}${prefix}/share/info/
- file rename m4.info gm4.info
+ cd ${destroot}${prefix}/share/info
+ move m4.info gm4.info
delete ${destroot}${prefix}/lib/charset.alias
- if {[variant_isset with_default_names]} {
+
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
+ TODO ${destroot}${docdir}
+}
+
+test.run yes
+test.target check
+
+variant with_default_names {
+ post-destroot {
foreach d {bin share/info share/man/man1} {
cd ${destroot}${prefix}/$d
foreach a [glob g*] {
@@ -37,11 +53,7 @@
}
}
-test.run yes
-test.target check
-
-variant with_default_names {}
-
livecheck.check regex
livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D
-livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070908/2bc3bd13/attachment.html
More information about the macports-changes
mailing list