Ted looking in directory $HOME/${datarootdir}/Ted instead of /usr/local/share/Ted for config file Ted.properies. truss shows among other things this: stat("/home/shersch/${datarootdir}/Ted/Ted.properties",0x7fffffffe0a0) ERR#2 'No such file or directory' The reason is that after configure some variable (e.g. DATADIR) not substituted correctly. You can fix this by adding CONFIGURE_ARGS+=--datadir=${PREFIX}/share in Makefile. After new build with changed Makefile truss shows this: stat("/usr/local/share/Ted/Ted.properties",{ mode=-rw-r--r-- ,inode=636009,size=23,blksize=16384 }) = 0 (0x0)
A commit references this bug: Author: pi Date: Mon Jan 5 08:35:27 UTC 2015 New revision: 376282 URL: https://svnweb.freebsd.org/changeset/ports/376282 Log: editors/ted: fix directory where ted finds its Ted.properties file by adding CONFIGURE_ARGS+=--datadir=${PREFIX}/share PR: 194833 Submitted by: shersch@dssgmbh.de Changes: head/editors/ted/Makefile
Changed, thanks.