Historically, MacPorts has (probably by mistake, or coincidence) shipped all of screen's compiled termcaps in the ncurses package. This doesn't seem to have broken anything because this is all obscure, obsolete crap anyway and screen also defines TERM/TERMCAP environment variables in its screens. Unless this needs to change, remove the call to tic in the Makefile install target. If you need the files from screen, you need to call it as tic -o${destroot}${prefix}/share/terminfo ${worksrcpath}/terminfo/screeninfo.src as tic will otherwise write to /opt/local on the machine that *builds* screen and none of the files will make it into the MacPorts package! --- Makefile.in 2024-08-28 15:55:03.000000000 -0400 +++ Makefile.in 2024-08-31 14:01:14.106657320 -0400 @@ -88,14 +88,10 @@ cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS) ############################################################################### install: installdirs install_bin cd doc ; $(MAKE) install - -if [ -d $(DESTDIR)/usr/lib/terminfo ]; then \ - PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \ - chmod 644 $(DESTDIR)/usr/lib/terminfo/s/screen*; \ - fi # Better do this by hand. E.g. under RCS... # cat ${srcdir}/terminfo/screencap >> /etc/termcap @echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually." @echo "You may also want to install $(srcdir)/etc/etcscreenrc in" $(ETCSCREENRC)