Index: head/Keywords/terminfo.ucl =================================================================== --- head/Keywords/terminfo.ucl +++ head/Keywords/terminfo.ucl @@ -0,0 +1,22 @@ +# $FreeBSD$ +# + +actions: [] +post-install: < 900000 ${RM} -f ${STAGEDIR}${PREFIX}/lib/libncurses.so \ ${STAGEDIR}${PREFIX}/lib/libncursesw.so ${ECHO} "INPUT(libncurses.so.${RELEASE:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so ${ECHO} "INPUT(libncursesw.so.${RELEASE:R} AS_NEEDED(-ltinfow))" > ${STAGEDIR}${PREFIX}/lib/libncursesw.so -.endif + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.5.9 + ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \ + ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ +.endfor + .include Index: head/devel/ncurses/pkg-plist =================================================================== --- head/devel/ncurses/pkg-plist +++ head/devel/ncurses/pkg-plist @@ -977,5 +977,4 @@ share/misc/tabset/stdcrt share/misc/tabset/vt100 share/misc/tabset/vt300 -share/misc/terminfo.db -@exec find %D/share/misc -name "*.terminfo" -exec %D/bin/tic {} \; +share/misc/terminfo.db.default Index: head/sysutils/jfbterm/Makefile =================================================================== --- head/sysutils/jfbterm/Makefile +++ head/sysutils/jfbterm/Makefile @@ -4,7 +4,7 @@ PORTNAME= jfbterm PORTVERSION= 0.6.1 DISTVERSIONPREFIX=FreeBSD- -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils MASTER_SITES= http://www.ac.auone-net.jp/~baba/jfbterm/ @@ -17,14 +17,13 @@ ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= requires VESA support in kernel +USES= terminfo MAKEFILE= ${FILESDIR}/BSDmakefile MAKE_ENV+= VERSION=${PORTVERSION} GUNZIP=${GUNZIP_CMD:N-*} PLIST_SUB+= TERMCAP_ADD_RECORD="@exec ${TERMCAP_ADD_RECORD:S,^${PREFIX},%D,}" \ - TERMCAP_DEL_RECORD="@unexec ${TERMCAP_DEL_RECORD}" \ - TIC="@exec ${TIC} ${TERMINFO_FILE:S,^${PREFIX},%D,} 2>/dev/null || ${TRUE}" + TERMCAP_DEL_RECORD="@unexec ${TERMCAP_DEL_RECORD}" CAP_MKDB?= /usr/bin/cap_mkdb -TIC?= ${LOCALBASE}/bin/tic TERMINFO_FILE?= ${PREFIX}/share/misc/jfbterm.terminfo OPTIONS_DEFINE= ICONV PNG SETUID TERMCAP UNIFONT @@ -42,8 +41,6 @@ PLIST_SUB+= SETUID="@comment " .endif -ONLY_FOR_ARCHS+=amd64 - .if !defined(INSTALL_AS_USER) TERMCAP_FILE?= /usr/share/misc/termcap .else @@ -101,13 +98,13 @@ ${WRKSRC}/jfbterm.conf.sample post-patch: - ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ -e 's|\(share\)/jfbterm/\(fonts\)|\1/misc/\2|' \ ${WRKSRC}/*.[0-9] ${WRKSRC}/*.conf.sample -.if !${PORT_OPTIONS:MTERMCAP} - ${REINPLACE_CMD} '/^term/s/:.*/: xterm/' \ + +post-patch-TERMCAP-off: + @${REINPLACE_CMD} '/^term/s/:.*/: xterm/' \ ${WRKSRC}/jfbterm.conf.sample -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jfbterm ${STAGEDIR}${PREFIX}/bin Index: head/sysutils/jfbterm/pkg-plist =================================================================== --- head/sysutils/jfbterm/pkg-plist +++ head/sysutils/jfbterm/pkg-plist @@ -9,4 +9,3 @@ share/misc/jfbterm.terminfo %%TERMCAP_ADD_RECORD%% %%TERMCAP_DEL_RECORD%% -%%TIC%% Index: head/x11/rxvt-unicode/Makefile =================================================================== --- head/x11/rxvt-unicode/Makefile +++ head/x11/rxvt-unicode/Makefile @@ -3,6 +3,7 @@ PORTNAME= rxvt-unicode PORTVERSION= 9.21 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/ MASTER_SITE_SUBDIR= . Attic @@ -12,12 +13,10 @@ LICENSE= GPLv2 -BUILD_DEPENDS= tic:${PORTSDIR}/devel/ncurses \ - ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig -RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ - ${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig -USES= cpe pkgconfig shebangfix tar:bzip2 +USES= cpe pkgconfig shebangfix tar:bzip2 terminfo USE_XORG= xpm xft xrender GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include Index: head/x11/rxvt-unicode/files/patch-doc_Makefile.in =================================================================== --- head/x11/rxvt-unicode/files/patch-doc_Makefile.in +++ head/x11/rxvt-unicode/files/patch-doc_Makefile.in @@ -0,0 +1,10 @@ +--- doc/Makefile.in.orig 2014-12-31 14:09:25 UTC ++++ doc/Makefile.in +@@ -98,7 +98,6 @@ install: all + $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) + $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) + $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) +- @TIC@ $(srcdir)/etc/rxvt-unicode.terminfo + + distdepend: alldoc + Index: head/x11/rxvt-unicode/pkg-plist =================================================================== --- head/x11/rxvt-unicode/pkg-plist +++ head/x11/rxvt-unicode/pkg-plist @@ -58,5 +58,3 @@ %%PERL%%man/man3/urxvtperl.3.gz man/man7/urxvt.7.gz share/misc/rxvt-unicode.terminfo -@comment No unexec tic available -@postexec tic %D/share/misc/rxvt-unicode.terminfo