1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= gpsd |
4 |
PORTVERSION= 3.14 |
5 |
CATEGORIES= astro geography |
6 |
MASTER_SITES= SAVANNAH |
7 |
|
8 |
MAINTAINER= ports@MidnightBSD.org |
9 |
COMMENT= Daemon that monitors one or more GPSes attached to a host computer |
10 |
|
11 |
LICENSE= bsd3 |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
14 |
BUILD_DEPENDS+= docbook-xsl>=0:textproc/docbook-xsl \ |
15 |
xsltproc:textproc/libxslt |
16 |
|
17 |
USES= cpe pathfix pkgconfig python:2 scons |
18 |
CPE_VENDOR= gpsd_project |
19 |
USE_RC_SUBR= gpsd |
20 |
|
21 |
MAKE_ARGS= prefix="${PREFIX}" mandir="man" pkgconfig="libdata/pkgconfig" |
22 |
MAKE_ENV= DESTDIR="${FAKE_DESTDIR}" |
23 |
|
24 |
OPTIONS_DEFINE= AIVDM ASHTECH CPPBIND DBUS EARTHMATE EVERMORE FURY FV18 GARMIN \ |
25 |
GARMINTXT GEOSTAR GPSCLOCK IPV6 ITRAX MTK NAVCOM NCURSES \ |
26 |
NETFEED NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE \ |
27 |
PASSTHROUGH PPS PROFILING RECONFIGURE RTCM104V2 RTCM104V3 \ |
28 |
SHMEXPORT SIRF SOCKEXPORT SUPERSTARII TIMING TNT TRIPMATE \ |
29 |
TSIP QTBIND UBLOX USB |
30 |
OPTIONS_DEFAULT= AIVDM ASHTECH CPPBIND EARTHMATE EVERMORE FURY FV18 GARMIN \ |
31 |
GARMINTXT GEOSTAR GPSCLOCK ITRAX NAVCOM NCURSES NETFEED \ |
32 |
NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE PASSTHROUGH \ |
33 |
RECONFIGURE RTCM104V2 RTCM104V3 SHMEXPORT SIRF SOCKEXPORT \ |
34 |
SUPERSTARII TIMING TNT TRIPMATE TSIP UBLOX USB |
35 |
|
36 |
AIVDM_DESC= Aivdm support |
37 |
ASHTECH_DESC= Ashtech support |
38 |
CPPBIND_DESC= Build C++ bindings |
39 |
EARTHMATE_DESC= DeLorme EarthMate Zodiac support |
40 |
EVERMORE_DESC= Evermore binary support |
41 |
FURY_DESC= Jackson Labs Fury and Firefly support |
42 |
FV18_DESC= San Jose Navigation FV-18 support |
43 |
GARMIN_DESC= Garmin kernel driver support |
44 |
GARMINTXT_DESC= Garmin Simple Text support |
45 |
GEOSTAR_DESC= Geostar Protocol support |
46 |
GPSCLOCK_DESC= GPSclock support |
47 |
ITRAX_DESC= iTrax support |
48 |
MTK_DESC= MTK-3301 support |
49 |
NAVCOM_DESC= Navcom support |
50 |
NCURSES_DESC= Build with ncurses |
51 |
NETFEED_DESC= Build support for handling TCP/IP data sources |
52 |
NMEA0183_DESC= NMEA0183 support |
53 |
NTP_DESC= NTP time hinting support |
54 |
NTPSHM_DESC= NTP time hinting support via shared memory |
55 |
NTRIP_DESC= NTRIP support |
56 |
OCEANSERVER_DESC= Oceanserver support |
57 |
ONCORE_DESC= Motorola OnCore chipset support |
58 |
PASSTHROUGH_DESC= Build support for passing through JSON |
59 |
PPS_DESC= PPS time syncing support |
60 |
PROFILING_DESC= Profiling support |
61 |
RECONFIGURE_DESC= Allow gpsd to change device settings |
62 |
RTCM104V2_DESC= rtcm104v2 support |
63 |
RTCM104V3_DESC= rtcm104v3 support |
64 |
SHMEXPORT_DESC= Enable export via shared memory |
65 |
SIRF_DESC= SiRF chipset support |
66 |
SOCKEXPORT_DESC= Enable export over sockets |
67 |
SUPERSTARII_DESC= SuperStarII support |
68 |
TIMING_DESC= Build latency timing support |
69 |
TNT_DESC= True North Technologies support |
70 |
TRIPMATE_DESC= DeLorme TripMate support |
71 |
TSIP_DESC= Trimble TSIP support |
72 |
QTBIND_DESC= build QT bindings |
73 |
UBLOX_DESC= u-blox protocol support |
74 |
USB_DESC= libusb support for USB devices |
75 |
|
76 |
# Options related to GPS protocols |
77 |
NMEA0183_MAKE_ARGS_OFF= nmea0183=no |
78 |
ASHTECH_MAKE_ARGS_OFF= ashtech=no |
79 |
EARTHMATE_MAKE_ARGS_OFF= earthmate=no |
80 |
EVERMORE_MAKE_ARGS_OFF= evermore=no |
81 |
FURY_MAKE_ARGS_OFF= fury=no |
82 |
FV18_MAKE_ARGS_OFF= fv18=no |
83 |
GARMIN_MAKE_ARGS_OFF= garmin=no |
84 |
GARMINTXT_MAKE_ARGS_OFF= garmintxt=no |
85 |
GEOSTAR_MAKE_ARGS_OFF= geostar=no |
86 |
ITRAX_MAKE_ARGS_OFF= itrax=no |
87 |
MTK_MAKE_ARGS_OFF= mtk3301=no |
88 |
NAVCOM_MAKE_ARGS_OFF= navcom=no |
89 |
ONCORE_MAKE_ARGS_OFF= oncore=no |
90 |
SIRF_MAKE_ARGS_OFF= sirf=no |
91 |
SUPERSTARII_MAKE_ARGS_OFF= superstar2=no |
92 |
TNT_MAKE_ARGS_OFF= tnt=no |
93 |
TRIPMATE_MAKE_ARGS_OFF= tripmate=no |
94 |
TSIP_MAKE_ARGS_OFF= tsip=no |
95 |
UBLOX_MAKE_ARGS_OFF= ublox=no |
96 |
|
97 |
# Options related to Non-GPS protocols |
98 |
AIVDM_MAKE_ARGS_OFF= aivdm=no |
99 |
GPSCLOCK_MAKE_ARGS_OFF= gpsclock=no |
100 |
NTRIP_MAKE_ARGS_OFF= ntrip=no |
101 |
OCEANSERVER_MAKE_ARGS_OFF= oceanserver=no |
102 |
RTCM104V2_MAKE_ARGS_OFF= rtcm104v2=no |
103 |
RTCM104V3_MAKE_ARGS_OFF= rtcm104v3=no |
104 |
|
105 |
# Time service |
106 |
NTP_MAKE_ARGS_OFF= ntp=no |
107 |
NTPSHM_MAKE_ARGS_OFF= ntpshm=no |
108 |
PPS_MAKE_ARGS_OFF= pps=no |
109 |
PPS_IMPLIES= NTPSHM |
110 |
|
111 |
# Export methods |
112 |
SOCKEXPORT_MAKE_ARGS_OFF= socket_export=no |
113 |
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus |
114 |
DBUS_MAKE_ARGS= dbus_export=yes |
115 |
SHMEXPORT_MAKE_ARGS_OFF= shm_export=no |
116 |
|
117 |
# Communication |
118 |
USB_MAKE_ARGS_OFF= usb=no |
119 |
IPV6_MAKE_ARGS_OFF= ipv6=no |
120 |
NETFEED_MAKE_ARGS_OFF= netfeed=no |
121 |
PASSTHROUGH_MAKE_ARGS_OFF= passthrough=no |
122 |
|
123 |
# Other daemon options |
124 |
TIMING_MAKE_ARGS_OFF= timing=no |
125 |
|
126 |
# Client-side options |
127 |
NCURSES_MAKE_ARGS_OFF= ncurses=no |
128 |
QTBIND_USE= QT4=network |
129 |
QTBIND_MAKE_ARGS= qt=yes |
130 |
QTBIND_MAKE_ARGS_OFF= qt=no |
131 |
QTBIND_PLIST_SUB= QTBIND="" |
132 |
QTBIND_PLIST_SUB_OFF= QTBIND="@comment " |
133 |
RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no |
134 |
CPPBIND_MAKE_ARGS_OFF= libgpsmm=no |
135 |
|
136 |
# Build control |
137 |
PROFILING_MAKE_ARGS= profiling=yes |
138 |
|
139 |
# generates .py[co] files for installed modules |
140 |
# if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted |
141 |
# with these files when module is imported from root user |
142 |
post-install: |
143 |
(cd ${PREFIX} && \ |
144 |
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ |
145 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \ |
146 |
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ |
147 |
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) |
148 |
|
149 |
.include <bsd.port.mk> |