macports Error: Port m4 not found

Jacob, Raymond A Jr. CIV SPAWARSYSCEN-ATLANTIC, 58150 raymond.jacob at
Wed Aug 3 13:38:39 PDT 2011

Question: I see m4 in the .../devel/m4 directory and I see a PortFile
Is there another file that I should check?
I am using subversion to access macports, in case that makes a

Thank you,
OS X 10.5.8

uname -a Darwin xxxxx 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

$ sudo port -d install m4
Error: Port m4 not found
To report a bug, see <>

bash-3.2# pwd
bash-3.2# cd ../..
bash-3.2# pwd
bash-3.2# find . -name m4
bash-3.2# ls -last
total 8
0 drwxr-xr-x    9 root  admin    306 Aug  2 22:19 .svn
0 drwxr-xr-x  878 root  admin  29852 Aug  2 11:22 ..
0 drwxr-xr-x    4 root  admin    136 Aug  2 11:22 .
8 -rw-r--r--    1 root  admin   2046 Aug  2 11:22 Portfile
bash-3.2# cat ./var/macports/sources/
# $Id: Portfile 81395 2011-07-30 02:26:52Z jmr at $

PortSystem		1.0

name            m4
version         1.4.16
categories      devel
license         GPL-3+
installs_libs   no
maintainers     blair openmaintainer
platforms       darwin
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      \
     extensions (for example, handling more than 9 positional parameters
     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.

master_sites    gnu
use_bzip2       yes

checksums           md5     8a7cef47fecab6272eb86a6be6363b2f \
                     sha1    0390c77780ab4cd65b07fe4e2d23e4e39769f967 \
                     rmd160  23029637e6e20c37747fb3a59d2a7afcf4155b74

configure.args  --program-prefix=g \

use_parallel_build  yes

post-destroot {
     move ${destroot}${prefix}/share/info/ ${destroot}${prefix}/

	set docdir ${prefix}/share/doc/${name}-${version}
	xinstall -d ${destroot}${docdir}
	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog
		TODO ${destroot}${docdir}

     xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
     foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*]
         ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/
gnubin/[string range $binary 1 end]
     xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1
     foreach manpage [glob -tails -directory ${destroot}${prefix}/
share/man/man1 g*] {
         ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}$
{prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
}        yes     check
test.env        TMPDIR=/tmp

More information about the macports-users mailing list