# $Id: Portfile 138309 2015-07-05 13:03:32Z jmr@macports.org $ PortSystem 1.0 name db_select version 0.1 revision 3 categories sysutils platforms darwin license BSD maintainers nomaintainer supported_archs noarch description stub port long_description This port is only a stub. homepage http://www.macports.org/ distfiles use_configure no build {} destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} system "echo '$long_description' > ${destroot}${prefix}/share/doc/${name}/README.txt" } # Clean up symlinks from using 'port select db' # https://trac.macports.org/ticket/47921 post-activate { set file_list [list include/db.h include/db_cxx.h lib/libdb.a lib/libdb.dylib lib/libdb_cxx.a lib/libdb_cxx.dylib] foreach f $file_list { set fullpath ${prefix}/${f} if {![catch {file type $fullpath}] && [registry_file_registered $fullpath] == "0"} { file delete -force $fullpath } } } livecheck.type none