macports Error: Port m4 not found

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


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

Thank you,
raymond
========================
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
Password:
Error: Port m4 not found
To report a bug, see <http://guide.macports.org/#project.tickets>

bash-3.2# pwd
/opt/local/var/macports
bash-3.2# cd ../..
bash-3.2# pwd
/opt/local
bash-3.2# find . -name m4
./var/macports/sources/svn.macports.org/trunk/dports/devel/m4
bash-3.2# ls -last
./var/macports/sources/svn.macports.org/trunk/dports/devel/m4
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/svn.macports.org/trunk/dports/
devel/m4/PortFile
# $Id: Portfile 81395 2011-07-30 02:26:52Z jmr at macports.org $

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.

homepage        http://www.gnu.org/software/m4/
master_sites    gnu
use_bzip2       yes

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

configure.args  --program-prefix=g \
                 ac_cv_libsigsegv=no

use_parallel_build  yes

post-destroot {
     move ${destroot}${prefix}/share/info/m4.info ${destroot}${prefix}/
share/info/gm4.info

	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}

     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
     }
}

test.run        yes
test.target     check
test.env        TMPDIR=/tmp
bash-3.2#



More information about the macports-users mailing list