I'm not terribly familiar with FreeBSD and Ports, but would it be reasonable to include something like `if [ -e /usr/local/include/sqlite3.h ]; then` bounding this to actually check if sqlite is installed via Ports?  It's fine if it's not, but I feel like I should ask just in case that's a reasonable pattern. :)