# -*- 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 PortSystem 1.0 PortGroup stub 1.0 name db_select version 0.1 revision 3 categories sysutils description stub port long_description This port is only a stub. homepage https://www.macports.org/ supported_archs noarch platforms any # 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