diff --git a/astro/kstars/Makefile b/astro/kstars/Makefile index fa6ad3b4766d..233f9cd1213b 100644 --- a/astro/kstars/Makefile +++ b/astro/kstars/Makefile @@ -1,45 +1,46 @@ PORTNAME= kstars DISTVERSION= 3.8.4.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= astro kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/ MAINTAINER= kde@FreeBSD.org COMMENT= KDE desktop planetarium WWW= https://edu.kde.org/kstars LICENSE= GPLv2 # ld: error: failed to open kstars/kstars: Cannot allocate memory IGNORE_i386= fails to build on i386 LIB_DEPENDS= libXISF.so:graphics/libxisf \ libcfitsio.so:astro/cfitsio \ libqt6keychain.so:security/qtkeychain@qt6 \ libraw.so:graphics/libraw \ libgsl.so:math/gsl \ libindiclient.so:devel/indi \ libopencv_core.so:graphics/opencv \ libnova.so:astro/libnova \ libstellarsolver6.so:astro/stellarsolver \ libwcs.so:astro/wcslib \ libcurl.so:ftp/curl BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ xplanet:astro/xplanet RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ xplanet:astro/xplanet USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 \ gettext gnome kde:6 localbase:ldflags pkgconfig \ python qt:6 tar:xz xorg USE_GNOME= glib20 USE_KDE= config crash i18n kio newstuff notifications \ notifyconfig plotting widgetsaddons xmlgui \ ecm:build USE_QT= base datavis3d declarative \ svg websockets USE_XORG= x11 CMAKE_ON= BUILD_WITH_QT6 .include diff --git a/astro/phd2/Makefile b/astro/phd2/Makefile index 32afb2717c5d..2e988f5f7343 100644 --- a/astro/phd2/Makefile +++ b/astro/phd2/Makefile @@ -1,49 +1,50 @@ PORTNAME= phd2 DISTVERSIONPREFIX=v DISTVERSION= 2.6.14 +PORTREVISION= 1 CATEGORIES= astro MAINTAINER= acm@FreeBSD.org COMMENT= Guiding software inspired by Stark Labs PHD Guiding WWW= https://openphdguiding.org/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libgmock.so:devel/googletest \ libindidriver.so:devel/indi \ libcurl.so:ftp/curl \ libopencv_core.so:graphics/opencv RUN_DEPENDS= indiserver:devel/indi USES= cmake desktop-file-utils eigen:3 gettext ninja pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= OpenPHDGuiding USE_CXXSTD= c++14 # googletest 1.13 USE_WX= 3.2+ USE_XORG= x11 WX_COMPS= wx CMAKE_ARGS+= -DUSE_SYSTEM_GTEST:BOOL=YES \ -DUSE_SYSTEM_CFITSIO:BOOL=YES \ -DUSE_SYSTEM_LIBUSB:BOOL=YES \ -DUSE_SYSTEM_LIBINDI:BOOL=YES \ -DUSE_SYSTEM_EIGEN3:BOOL=YES \ -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.2-config .include .if ${ARCH} != aarch64 && ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DOPENSOURCE_ONLY:BOOL=YES .endif post-install: .for RESO in 16 32 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_${RESO}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.png .endfor .include diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile index 42eba539b2fc..2dc2acd08e6d 100644 --- a/astro/stellarium/Makefile +++ b/astro/stellarium/Makefile @@ -1,126 +1,126 @@ PORTNAME= stellarium PORTVERSION= 24.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= https://github.com/Stellarium/stellarium/releases/download/v${PORTVERSION}/ \ https://mirrors.tuna.tsinghua.edu.cn/github-release/Stellarium/stellarium/v${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${_DISTFILES:Nstars_*.cat:N*.pdf} PATCH_SITES= https://github.com/Stellarium/stellarium/commit/ PATCHFILES= af0421c437ee4ddbf319d6e18fadf5c8a688d5cb.patch:-p1 MAINTAINER= danfe@FreeBSD.org COMMENT= 3D photo-realistic sky renderer (planetarium) WWW= https://stellarium.org/ LICENSE= GPLv2+ BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libnlopt.so:math/nlopt@minimal USES= cmake compiler:c++11-lang desktop-file-utils \ perl5 qt:5 shared-mime-info tar:xz USE_PERL5= build USE_QT= qmake:build buildtools:build \ charts concurrent core gui network opengl widgets CMAKE_OFF= ENABLE_QT6 PORTDOCS= CREDITS.md ChangeLog README.md \ stellarium_user_guide-${PORTVERSION}-1.pdf OPTIONS_DEFINE= DOCS GPS MORE_STARS MULTIMEDIA NLS SCRIPTS \ SHOWMYSKY TELESCOPE TEST TEXTURES WEBENGINE XLSX OPTIONS_DEFAULT= GPS MULTIMEDIA SCRIPTS SHOWMYSKY TELESCOPE \ WEBENGINE XLSX OPTIONS_SUB= yes GPS_DESC= GPS (NMEA handling) support MORE_STARS_DESC= Install additional star catalogs (1.0GB) MULTIMEDIA_DESC= Sound and video support SCRIPTS_DESC= Remote control and scripting support SHOWMYSKY_DESC= Realistic atmosphere light scattering TELESCOPE_DESC= Build telescope control plugin TEXTURES_DESC= Install better quality textures WEBENGINE_DESC= Get and show extra object information XLSX_DESC= Data export to Excel files support DOCS_DISTFILES= stellarium_user_guide-${PORTVERSION}-1.pdf GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_USE= QT=location,serialport GPS_CMAKE_OFF= -DENABLE_GPS:BOOL=OFF MULTIMEDIA_USE= QT=multimedia MULTIMEDIA_CMAKE_OFF= -DENABLE_MEDIA:BOOL=OFF NLS_USE= QT=linguisttools:build NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=OFF SCRIPTS_USE= QT=script SCRIPTS_CMAKE_OFF= -DENABLE_SCRIPTING:BOOL=OFF SHOWMYSKY_BUILD_DEPENDS= ${LOCALBASE}/include/ShowMySky/AtmosphereRenderer.hpp:astro/calcmysky SHOWMYSKY_RUN_DEPENDS= ${LOCALBASE}/lib/libShowMySky-Qt5.so:astro/calcmysky SHOWMYSKY_CMAKE_OFF= -DENABLE_SHOWMYSKY:BOOL=OFF TELESCOPE_LIB_DEPENDS= libindiclient.so:devel/indi TELESCOPE_USE= QT=serialport TELESCOPE_CMAKE_OFF= -DUSE_PLUGIN_TELESCOPECONTROL:BOOL=OFF TEST_USE= QT=testlib:build TEST_CMAKE_ON= -DENABLE_TESTING:BOOL=ON TEXTURES_MASTER_SITES= SF/${PORTNAME}/Extra-data-files/textures:gfx TEXTURES_DISTFILES= textures-1K.zip:gfx WEBENGINE_USE= QT=declarative,webchannel,webengine WEBENGINE_CMAKE_OFF= -DENABLE_QTWEBENGINE:BOOL=OFF XLSX_LIB_DEPENDS= libQXlsxQt5.so:devel/qxlsx@qt5 XLSX_CMAKE_OFF= -DENABLE_XLSX:BOOL=OFF .include .if ${PORT_OPTIONS:MMORE_STARS} . for i in 4 5 6 7 8 MASTER_SITES+= SF/${PORTNAME}/Extra-data-files/stars${i}:stars${i} . endfor DISTFILES+= stars_4_1v0_2.cat:stars4 stars_5_2v0_1.cat:stars5 \ stars_6_2v0_1.cat:stars6 stars_7_2v0_1.cat:stars7 \ stars_8_2v0_1.cat:stars8 .endif post-extract-DOCS-on: @${LN} -sf ${_DISTDIR}/stellarium_user_guide-${PORTVERSION}-1.pdf \ ${WRKSRC} post-install: @${RMDIR} ${STAGEDIR}${DATADIR}/skycultures/greek_almagest/almstars post-install-MORE_STARS-on: ${INSTALL_DATA} ${DISTDIR}/stars_4_1v0_2.cat \ ${DISTDIR}/stars_[5678]_2v0_1.cat \ ${STAGEDIR}${DATADIR}/stars/default post-install-TEXTURES-on: (cd ${WRKDIR} && for f in *.png; do \ ${TEST} -z "$${f%neb*}" && continue ; \ new=`${STAT} -f '%z' $$f` ; \ existing=`${STAT} -f '%z' \ ${STAGEDIR}${DATADIR}/textures/$$f` ; \ ${TEST} $$new -gt $$existing || continue ; \ ${ECHO_CMD} "-- Replacing texture: $$f\ (has larger file size: $$new > $$existing)" ; \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \ done) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test-TEST-on: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include