aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-05-23 18:43:02 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-05-23 18:48:09 +0000
commited619bb83afaf12b4611c3064dcc7024ddf812c0 (patch)
treef85888a85c60a29ffa6e35fb53ca29d851691292
parent2b5993f581330892d91d1929053c472ee35915b1 (diff)
astro/phd2: NEW: Guiding software inspired by Stark Labs PHD Guiding
PHD2 is telescope guiding software that simplifies the process of tracking a guide star, letting you concentrate on other aspects of deep-sky imaging or spectroscopy. WWW: https://openphdguiding.org/
-rw-r--r--astro/Makefile1
-rw-r--r--astro/phd2/Makefile33
-rw-r--r--astro/phd2/distinfo3
-rw-r--r--astro/phd2/pkg-descr5
-rw-r--r--astro/phd2/pkg-plist27
5 files changed, 69 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 61125daf6796..4aeb588765d4 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -74,6 +74,7 @@
SUBDIR += p5-Net-GPSD3
SUBDIR += p5-Starlink-AST
SUBDIR += p5-Weather-Underground
+ SUBDIR += phd2
SUBDIR += phoon
SUBDIR += pp3
SUBDIR += ptiger
diff --git a/astro/phd2/Makefile b/astro/phd2/Makefile
new file mode 100644
index 000000000000..2d2033f5b382
--- /dev/null
+++ b/astro/phd2/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= phd2
+DISTVERSIONPREFIX=v
+DISTVERSION= 2.6.9dev5
+CATEGORIES= astro
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Guiding software inspired by Stark Labs PHD Guiding
+
+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
+
+USE_GITHUB= yes
+GH_ACCOUNT= OpenPHDGuiding
+
+USE_WX= 3.1+
+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
+
+.include <bsd.port.mk>
diff --git a/astro/phd2/distinfo b/astro/phd2/distinfo
new file mode 100644
index 000000000000..7e9ca79cf89a
--- /dev/null
+++ b/astro/phd2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621752833
+SHA256 (OpenPHDGuiding-phd2-v2.6.9dev5_GH0.tar.gz) = 93028d3a8b8d04276db886505176daa5192a21238d0801f2b251905ad4e0a9f7
+SIZE (OpenPHDGuiding-phd2-v2.6.9dev5_GH0.tar.gz) = 110229487
diff --git a/astro/phd2/pkg-descr b/astro/phd2/pkg-descr
new file mode 100644
index 000000000000..460216468fc1
--- /dev/null
+++ b/astro/phd2/pkg-descr
@@ -0,0 +1,5 @@
+PHD2 is telescope guiding software that simplifies the process of tracking a
+guide star, letting you concentrate on other aspects of deep-sky imaging or
+spectroscopy.
+
+WWW: https://openphdguiding.org/
diff --git a/astro/phd2/pkg-plist b/astro/phd2/pkg-plist
new file mode 100644
index 000000000000..f754afd78beb
--- /dev/null
+++ b/astro/phd2/pkg-plist
@@ -0,0 +1,27 @@
+bin/phd2
+bin/phd2.bin
+share/applications/phd2.desktop
+share/locale/ar_LY/LC_MESSAGES/phd2.mo
+share/locale/ca_ES/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