blob: f695790543acc0dc60e70d38f1ea2f3379fb3c56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= phd2
DISTVERSIONPREFIX=v
DISTVERSION= 2.6.10
PORTREVISION= 4
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
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.options.mk>
.if ${ARCH} != aarch64 && ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != amd64 && ${ARCH} != i386
CMAKE_ARGS+= -DOPENSOURCE_ONLY:BOOL=YES
.endif
.include <bsd.port.mk>
|