#!/bin/sh # Find a package in pkgsrc find /usr/pkgsrc -mindepth 2 -maxdepth 2 -type d -name "*$1*" | sed 's,^/usr/pkgsrc/,,'