diff --git a/devel/notcurses/Makefile b/devel/notcurses/Makefile index c627dafdbc09..b246147394c4 100644 --- a/devel/notcurses/Makefile +++ b/devel/notcurses/Makefile @@ -1,51 +1,59 @@ PORTNAME= notcurses DISTVERSIONPREFIX= v -DISTVERSION= ${ABIVERSION}.0.1 +DISTVERSION= ${ABIVERSION}.0.3 CATEGORIES= devel MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/:docs DISTFILES= ${PORTNAME}-doc-${DISTVERSION}.tar.gz:docs MAINTAINER= nickblack@linux.com COMMENT= TUI library for modern terminal emulators LICENSE= APACHE20 MIT LICENSE_COMB= dual LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libdeflate.so:archivers/libdeflate \ libqrcodegen.so:graphics/qr-code-generator \ libunistring.so:devel/libunistring -USES= cmake:noninja compiler:c++17-lang localbase ncurses:port \ - pkgconfig +USES= cmake:noninja compiler:c++17-lang localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= dankamongmen USE_LDCONFIG= yes CMAKE_ON= USE_QRCODEGEN # we leave USE_POC=on (and BUILD_TESTING=on) so that we can run some basic # tests, if not the full notcurses-tester suite. CMAKE_OFF= USE_DOCTEST USE_PANDOC TEST_TARGET= test PLIST_SUB= ABI_VER=${ABIVERSION} \ REL_VER=${DISTVERSION} OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes ABIVERSION= 3 +.include + +# ncursesw and tinfo >= 6.1 seem to be needed (see CMakeLists.txt:l104) +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 +USES+=ncurses:port +.else +USES+=ncurses +.endif + post-patch-DOCS-off: @${REINPLACE_CMD} -e 's|install(FILES $${MARKDOWN} DESTINATION $${CMAKE_INSTALL_DOCDIR})|#install(FILES $${MARKDOWN} DESTINATION $${CMAKE_INSTALL_DOCDIR})|' \ ${WRKSRC}/CMakeLists.txt post-install-MANPAGES-on: ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1 ${STAGEDIR}${MANPREFIX}/man/man3 # we don't want to install e.g. "notcurses-x.x.1" ${FIND} ${WRKDIR} -maxdepth 1 -type f -iname \*.1 -execdir ${INSTALL_MAN} {} ${STAGEDIR}${MANPREFIX}/man/man1 \; ${FIND} ${WRKDIR} -maxdepth 1 -type f -iname \*.3 -execdir ${INSTALL_MAN} {} ${STAGEDIR}${MANPREFIX}/man/man3 \; .include diff --git a/devel/notcurses/distinfo b/devel/notcurses/distinfo index b3495f36ae8b..a0225b2efd45 100644 --- a/devel/notcurses/distinfo +++ b/devel/notcurses/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1639458065 -SHA256 (notcurses-doc-3.0.1.tar.gz) = 43be760c5f2f4a7b2c9a9527254cd2bbdda8ad7d6f4fc7f841a776f0ee3cdd05 -SIZE (notcurses-doc-3.0.1.tar.gz) = 145503 -SHA256 (dankamongmen-notcurses-v3.0.1_GH0.tar.gz) = 32041c300e92fc0fe56c19e65d1d1e374e824c781dfcd4f959ab0dcdbb90cdb2 -SIZE (dankamongmen-notcurses-v3.0.1_GH0.tar.gz) = 10119898 +TIMESTAMP = 1641147732 +SHA256 (notcurses-doc-3.0.3.tar.gz) = 9de84a44f810d257c8cf70115fd105b13a31bb254f1948dfee27994306e840ac +SIZE (notcurses-doc-3.0.3.tar.gz) = 146699 +SHA256 (dankamongmen-notcurses-v3.0.3_GH0.tar.gz) = 3be27640578f5b79c921d018cb14448867326737bc0d512c9f11c047dc9e478a +SIZE (dankamongmen-notcurses-v3.0.3_GH0.tar.gz) = 10129182 diff --git a/devel/notcurses/pkg-plist b/devel/notcurses/pkg-plist index 77ca7a7ad9f4..d566e84b1db3 100644 --- a/devel/notcurses/pkg-plist +++ b/devel/notcurses/pkg-plist @@ -1,186 +1,191 @@ bin/ncls bin/ncneofetch bin/ncplayer bin/nctetris bin/notcurses-demo bin/notcurses-info bin/notcurses-input +bin/tfman include/ncpp/Cell.hh include/ncpp/CellStyle.hh include/ncpp/Direct.hh include/ncpp/FDPlane.hh include/ncpp/Menu.hh include/ncpp/MultiSelector.hh include/ncpp/NCAlign.hh include/ncpp/NCBox.hh include/ncpp/NCKey.hh include/ncpp/NCLogLevel.hh include/ncpp/NotCurses.hh include/ncpp/Palette.hh include/ncpp/Pile.hh include/ncpp/Plane.hh include/ncpp/Plot.hh include/ncpp/Progbar.hh include/ncpp/Reader.hh include/ncpp/Reel.hh include/ncpp/Root.hh include/ncpp/Selector.hh include/ncpp/Subproc.hh include/ncpp/Tablet.hh include/ncpp/TabletCallback.hh include/ncpp/Utilities.hh include/ncpp/Visual.hh include/ncpp/Widget.hh include/ncpp/_exceptions.hh include/ncpp/_flag_enum_operator_helpers.hh include/ncpp/_helpers.hh include/ncpp/internal/Helpers.hh include/ncpp/ncpp.hh include/notcurses/direct.h include/notcurses/nckeys.h include/notcurses/ncport.h include/notcurses/ncseqs.h include/notcurses/notcurses.h include/notcurses/version.h lib/cmake/Notcurses++/Notcurses++Config.cmake lib/cmake/Notcurses++/Notcurses++ConfigVersion.cmake lib/cmake/Notcurses/NotcursesConfig.cmake lib/cmake/Notcurses/NotcursesConfigVersion.cmake lib/cmake/NotcursesCore/NotcursesCoreConfig.cmake lib/cmake/NotcursesCore/NotcursesCoreConfigVersion.cmake lib/libnotcurses++.a lib/libnotcurses++.so lib/libnotcurses++.so.%%ABI_VER%% lib/libnotcurses++.so.%%REL_VER%% lib/libnotcurses-core.a lib/libnotcurses-core.so lib/libnotcurses-core.so.%%ABI_VER%% lib/libnotcurses-core.so.%%REL_VER%% +lib/libnotcurses-ffi.so +lib/libnotcurses-ffi.so.%%ABI_VER%% +lib/libnotcurses-ffi.so.%%REL_VER%% lib/libnotcurses.a lib/libnotcurses.so lib/libnotcurses.so.%%ABI_VER%% lib/libnotcurses.so.%%REL_VER%% libdata/pkgconfig/notcurses++.pc libdata/pkgconfig/notcurses-core.pc +libdata/pkgconfig/notcurses-ffi.pc libdata/pkgconfig/notcurses.pc %%MANPAGES%%man/man1/ncls.1.gz %%MANPAGES%%man/man1/ncneofetch.1.gz %%MANPAGES%%man/man1/ncplayer.1.gz %%MANPAGES%%man/man1/nctetris.1.gz %%MANPAGES%%man/man1/notcurses-demo.1.gz %%MANPAGES%%man/man1/notcurses-info.1.gz %%MANPAGES%%man/man1/notcurses-input.1.gz %%MANPAGES%%man/man1/notcurses-tester.1.gz %%MANPAGES%%man/man3/notcurses.3.gz %%MANPAGES%%man/man3/notcurses_capabilities.3.gz %%MANPAGES%%man/man3/notcurses_cell.3.gz %%MANPAGES%%man/man3/notcurses_channels.3.gz %%MANPAGES%%man/man3/notcurses_core.3.gz %%MANPAGES%%man/man3/notcurses_direct.3.gz %%MANPAGES%%man/man3/notcurses_fade.3.gz %%MANPAGES%%man/man3/notcurses_fds.3.gz %%MANPAGES%%man/man3/notcurses_init.3.gz %%MANPAGES%%man/man3/notcurses_input.3.gz %%MANPAGES%%man/man3/notcurses_lines.3.gz %%MANPAGES%%man/man3/notcurses_menu.3.gz %%MANPAGES%%man/man3/notcurses_metric.3.gz %%MANPAGES%%man/man3/notcurses_multiselector.3.gz %%MANPAGES%%man/man3/notcurses_output.3.gz %%MANPAGES%%man/man3/notcurses_palette.3.gz %%MANPAGES%%man/man3/notcurses_pile.3.gz %%MANPAGES%%man/man3/notcurses_plane.3.gz %%MANPAGES%%man/man3/notcurses_plot.3.gz %%MANPAGES%%man/man3/notcurses_progbar.3.gz %%MANPAGES%%man/man3/notcurses_reader.3.gz %%MANPAGES%%man/man3/notcurses_reel.3.gz %%MANPAGES%%man/man3/notcurses_refresh.3.gz %%MANPAGES%%man/man3/notcurses_render.3.gz %%MANPAGES%%man/man3/notcurses_selector.3.gz %%MANPAGES%%man/man3/notcurses_stats.3.gz %%MANPAGES%%man/man3/notcurses_stdplane.3.gz %%MANPAGES%%man/man3/notcurses_stop.3.gz %%MANPAGES%%man/man3/notcurses_tabbed.3.gz %%MANPAGES%%man/man3/notcurses_tree.3.gz %%MANPAGES%%man/man3/notcurses_util.3.gz %%MANPAGES%%man/man3/notcurses_visual.3.gz %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md %%PORTDOCS%%%%DOCSDIR%%/NEWS.md %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/TERMINALS.md %%PORTDOCS%%%%DOCSDIR%%/USAGE.md %%DATADIR%%/PurpleDrank.jpg %%DATADIR%%/Windows10Logo.png %%DATADIR%%/aidsrobots.jpeg %%DATADIR%%/atma.png %%DATADIR%%/changes.jpg %%DATADIR%%/chunli01.png %%DATADIR%%/chunli02.png %%DATADIR%%/chunli03.png %%DATADIR%%/chunli04.png %%DATADIR%%/chunli05.png %%DATADIR%%/chunli06.png %%DATADIR%%/chunli07.png %%DATADIR%%/chunli08.png %%DATADIR%%/chunli09.png %%DATADIR%%/chunli1.bmp %%DATADIR%%/chunli10.png %%DATADIR%%/chunli11.png %%DATADIR%%/chunli12.png %%DATADIR%%/chunli13.png %%DATADIR%%/chunli14.png %%DATADIR%%/chunli15.png %%DATADIR%%/chunli16.png %%DATADIR%%/chunli17.png %%DATADIR%%/chunli18.png %%DATADIR%%/chunli19.png %%DATADIR%%/chunli2.bmp %%DATADIR%%/chunli20.png %%DATADIR%%/chunli21.png %%DATADIR%%/chunli22.png %%DATADIR%%/chunli23.png %%DATADIR%%/chunli24.png %%DATADIR%%/chunli25.png %%DATADIR%%/chunli26.png %%DATADIR%%/chunli27.png %%DATADIR%%/chunli28.png %%DATADIR%%/chunli29.png %%DATADIR%%/chunli3.bmp %%DATADIR%%/chunli30.png %%DATADIR%%/chunli31.png %%DATADIR%%/chunli32.png %%DATADIR%%/chunli33.png %%DATADIR%%/chunli34.png %%DATADIR%%/chunli35.png %%DATADIR%%/chunli36.png %%DATADIR%%/chunli37.png %%DATADIR%%/chunli38.png %%DATADIR%%/chunli39.png %%DATADIR%%/chunli4.bmp %%DATADIR%%/chunli40.png %%DATADIR%%/chunli41.png %%DATADIR%%/chunli42.png %%DATADIR%%/chunli43.png %%DATADIR%%/chunli44.png %%DATADIR%%/chunli45.png %%DATADIR%%/chunli5.bmp %%DATADIR%%/chunli6.bmp %%DATADIR%%/chunli7.bmp %%DATADIR%%/chunli8.bmp %%DATADIR%%/covid19.jpg %%DATADIR%%/dsscaw-purp.png %%DATADIR%%/eagles.png %%DATADIR%%/fm6.mov %%DATADIR%%/fonts.jpg %%DATADIR%%/freebsd.png %%DATADIR%%/lamepatents.jpg %%DATADIR%%/megaman2.bmp %%DATADIR%%/natasha-blur.png %%DATADIR%%/normal.png %%DATADIR%%/notcurses.png %%DATADIR%%/notcursesIII.mov %%DATADIR%%/onedot.png %%DATADIR%%/samoa.avi %%DATADIR%%/spaceship.png %%DATADIR%%/tetris-background.jpg %%DATADIR%%/warmech.bmp %%DATADIR%%/worldmap.png