Removing configure options
Rainer Müller
raimue at macports.org
Tue Jun 9 17:18:43 PDT 2009
On 2009-06-09 23:24, Scott Haneda wrote:
> # $Id$
>
> PortSystem 1.0
>
> name rbldnsd
> version 0.996b
> categories sysutils
>
> master_sites http://www.corpit.ru/mjt/rbldnsd/
> distfiles ${name}_0.996b.tar.gz
distfiles ${name}_${version}${extract.suffix}
You should not hardcode the version number at multiple places in the
Portfile. This makes it harder to do updates.
> description test
> long_description test
>
> checksums md5 9a0f26f3b33764c325a96bd4c61b26fa \
> sha1 9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
> rmd160 15be588fb4051f0526084425b586ea7986b6493a
>
> configure.pre_args-delete --prefix=${prefix}
>
> destroot {
> xinstall -m 755 -d ${destroot}${prefix}/var
> xinstall -m 755 ${worksrcpath}/rbldnsd ${destroot}${prefix}/var
> }
As ${prefix}/var is part of the mtree, there is no need to create it
manually.
> build {}
By using this line you have overwritten the build phase which is why
'make' never gets run. As you have also overwritten the destroot phase,
there should not be any attempt to run 'make install'. What you see
failing there is your xinstall command.
HTH,
Rainer
More information about the macports-dev
mailing list