Porting atf - violating the layout of the ports-filesystems
Ivan "Rambius" Ivanov
rambiusparkisanius at gmail.com
Sat Jul 3 18:32:06 PDT 2010
Hello,
I am porting ATF (Automated Testing Framework). It is a C/C++ library
for developing unit tests in C/C++. It uses GNU Automake, GNU Autoconf
and GNU Libtool as its build system and it installs with the standard
./configure, make, make install sequence.
I created the following Portfile (also attached for convenience):
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil;
c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
name atf
version 0.10
categories devel
platforms darwin
maintainers rambiusparkisanius at gmail.com
description The Automated Testing Framework
long_description The Automated Testing Framework (ATF) is a collection of \
libraries and utilities designed to ease unattended \
application testing in the hands of developers and \
end users of a specific piece of software.
homepage http://www.netbsd.org/~jmmv/atf/
master_sites ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/${version}/
checksums md5 72160cf5e983c7b029168f2c236cc2e7 \
sha1 f3d1a689204c69dc40211d2ecce0eb4f09f8ad75 \
rmd160 2f0e2e499b87090f81a15f8f756cc48b1e8b9486
depends_lib port:xmlcatmgr
Now when attempt to install it with
$ sudo port install atf
it installs correctly but I receive the following error:
---> Staging atf into destroot
Warning: violation by /opt/local/tests
Warning: atf violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended),
it will be an error in future releases!
How would you advise me to fix this warning? Should I change ATF's
portfile or should I patch its original build system?
Regards
Rambius
--
Tangra Mega Rock: http://www.radiotangra.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 841 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100704/de2bc925/attachment.obj>
More information about the macports-users
mailing list