diff --git a/astro/phd2/Makefile b/astro/phd2/Makefile index d8a4cca3541b..fc8a020d8d86 100644 --- a/astro/phd2/Makefile +++ b/astro/phd2/Makefile @@ -1,43 +1,48 @@ PORTNAME= phd2 DISTVERSIONPREFIX=v -DISTVERSION= 2.6.10 -PORTREVISION= 11 +DISTVERSION= 2.6.13 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 RUN_DEPENDS= indiserver:devel/indi -USES= cmake eigen:3 gettext ninja pkgconfig xorg +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/phd2/distinfo b/astro/phd2/distinfo index 82f6c6f399a3..b8123b30d4fd 100644 --- a/astro/phd2/distinfo +++ b/astro/phd2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630823115 -SHA256 (OpenPHDGuiding-phd2-v2.6.10_GH0.tar.gz) = f330ae45dfe3c0166b509adcac11a28403dc101e97020ab5f09d8e681e11cd5d -SIZE (OpenPHDGuiding-phd2-v2.6.10_GH0.tar.gz) = 117658264 +TIMESTAMP = 1735438562 +SHA256 (OpenPHDGuiding-phd2-v2.6.13_GH0.tar.gz) = 619993ce5a8baf1c62ba5dcb3ae485b4b82e0d8ce247d6b565b1db6a7de274cf +SIZE (OpenPHDGuiding-phd2-v2.6.13_GH0.tar.gz) = 165076668 diff --git a/astro/phd2/files/patch-thirdparty_thirdparty.cmake b/astro/phd2/files/patch-thirdparty_thirdparty.cmake deleted file mode 100644 index 27dee2b08db2..000000000000 --- a/astro/phd2/files/patch-thirdparty_thirdparty.cmake +++ /dev/null @@ -1,20 +0,0 @@ -Fix compilation against libidngi 1.9.1 - -In file included from /wrkdirs/usr/ports/astro/phd2/work/phd2-2.6.9dev5/stepguider_sxao_indi.cpp:40: -In file included from /wrkdirs/usr/ports/astro/phd2/work/phd2-2.6.9dev5/phdindiclient.h:37: -/usr/local/include/libindi/baseclient.h:27:10: error: 'indimacros.h' file not found with include; use "quotes" instead -#include - ^ -1 warning and 1 error generated. - ---- thirdparty/thirdparty.cmake.orig 2021-08-06 09:18:28 UTC -+++ thirdparty/thirdparty.cmake -@@ -660,7 +660,7 @@ else() - find_package(INDI 0.9 REQUIRED) - # source files include so we need the libindi parent directory in the include directories - get_filename_component(INDI_INCLUDE_PARENT_DIR ${INDI_INCLUDE_DIR} DIRECTORY) -- include_directories(${INDI_INCLUDE_PARENT_DIR}) -+ include_directories(${INDI_INCLUDE_PARENT_DIR} ${INDI_INCLUDE_DIR}) - if(INDI_VERSION VERSION_LESS "1.4") - set(PHD_LINK_EXTERNAL ${PHD_LINK_EXTERNAL} ${INDI_CLIENT_LIBRARIES} ${INDI_LIBRARIES}) - else(INDI_VERSION VERSION_LESS "1.4") diff --git a/astro/phd2/pkg-plist b/astro/phd2/pkg-plist index f754afd78beb..0c067c64f12b 100644 --- a/astro/phd2/pkg-plist +++ b/astro/phd2/pkg-plist @@ -1,27 +1,34 @@ bin/phd2 bin/phd2.bin share/applications/phd2.desktop +share/icons/hicolor/128x128/apps/phd2.png +share/icons/hicolor/16x16/apps/phd2.png +share/icons/hicolor/256x256/apps/phd2.png +share/icons/hicolor/32x32/apps/phd2.png +share/icons/hicolor/48x48/apps/phd2.png +share/icons/hicolor/64x64/apps/phd2.png share/locale/ar_LY/LC_MESSAGES/phd2.mo share/locale/ca_ES/LC_MESSAGES/phd2.mo +share/locale/cs_CZ/LC_MESSAGES/phd2.mo share/locale/de_DE/LC_MESSAGES/phd2.mo share/locale/es_ES/LC_MESSAGES/phd2.mo share/locale/fr_FR/LC_MESSAGES/phd2.mo share/locale/gl_ES/LC_MESSAGES/phd2.mo share/locale/it_IT/LC_MESSAGES/phd2.mo share/locale/ja_JP/LC_MESSAGES/phd2.mo share/locale/ko_KR/LC_MESSAGES/phd2.mo share/locale/nb_NO/LC_MESSAGES/phd2.mo share/locale/pl_PL/LC_MESSAGES/phd2.mo share/locale/pt_BR/LC_MESSAGES/phd2.mo share/locale/ro_RO/LC_MESSAGES/phd2.mo share/locale/ru_RU/LC_MESSAGES/phd2.mo share/locale/uk_UA/LC_MESSAGES/phd2.mo share/locale/zh_CN/LC_MESSAGES/phd2.mo share/locale/zh_TW/LC_MESSAGES/phd2.mo share/metainfo/phd2.appdata.xml %%DATADIR%%/PHD2GuideHelp.zip %%DATADIR%%/locale/fr_FR/PHD2GuideHelp.zip %%DATADIR%%/locale/ja_JP/PHD2GuideHelp.zip %%DATADIR%%/locale/ru_RU/PHD2GuideHelp.zip %%DATADIR%%/locale/zh_TW/PHD2GuideHelp.zip share/pixmaps/phd2.png