| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.59 2021/09/28 00:16:08 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.60 2021/11/09 11:51:11 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= gpsd-3.23.1 | | 3 | DISTNAME= gpsd-3.23.1 |
4 | CATEGORIES= geography | | 4 | CATEGORIES= geography |
5 | MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gpsd/ | | 5 | MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gpsd/ |
6 | # will probably switch to https://gitlab.com/gpsd/gpsd/releases | | 6 | # will probably switch to https://gitlab.com/gpsd/gpsd/releases |
7 | | | 7 | |
8 | MAINTAINER= gdt@NetBSD.org | | 8 | MAINTAINER= gdt@NetBSD.org |
9 | HOMEPAGE= https://gpsd.io/ | | 9 | HOMEPAGE= https://gpsd.io/ |
10 | COMMENT= GPS information daemon | | 10 | COMMENT= GPS information daemon |
11 | | | 11 | |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | PY_PATCHPLIST= yes | | 14 | PY_PATCHPLIST= yes |
| @@ -73,27 +73,33 @@ do-test: | | | @@ -73,27 +73,33 @@ do-test: |
73 | check | | 73 | check |
74 | | | 74 | |
75 | .include "../../mk/bsd.prefs.mk" | | 75 | .include "../../mk/bsd.prefs.mk" |
76 | .if ${OPSYS} == "Darwin" | | 76 | .if ${OPSYS} == "Darwin" |
77 | PLIST_SUBST+= PLIST_SO= | | 77 | PLIST_SUBST+= PLIST_SO= |
78 | PLIST_SUBST+= PLIST_DYLIB=.dylib | | 78 | PLIST_SUBST+= PLIST_DYLIB=.dylib |
79 | .else | | 79 | .else |
80 | PLIST_SUBST+= PLIST_SO=.so | | 80 | PLIST_SUBST+= PLIST_SO=.so |
81 | PLIST_SUBST+= PLIST_DYLIB= | | 81 | PLIST_SUBST+= PLIST_DYLIB= |
82 | .endif | | 82 | .endif |
83 | | | 83 | |
84 | # \todo Consider not including this and using the pre-built man pages. | | 84 | # \todo Consider not including this and using the pre-built man pages. |
85 | .include "../../lang/ruby/rubyversion.mk" | | 85 | .include "../../lang/ruby/rubyversion.mk" |
86 | BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor | | 86 | TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor |
| | | 87 | |
| | | 88 | SUBST_CLASSES+= ad |
| | | 89 | SUBST_STAGE.ad= pre-build |
| | | 90 | SUBST_MESSAGE.ad= Correcting the asciidoctor binary name. |
| | | 91 | SUBST_FILES.ad+= SConscript |
| | | 92 | SUBST_SED.ad+= -e "s,asciidoctor26,asciidoctor${RUBY_SUFFIX},g" |
87 | | | 93 | |
88 | # \todo Change to TOOLS or BUILD_DEPENDS after scons support is improved. | | 94 | # \todo Change to TOOLS or BUILD_DEPENDS after scons support is improved. |
89 | .include "../../devel/scons/buildlink3.mk" | | 95 | .include "../../devel/scons/buildlink3.mk" |
90 | | | 96 | |
91 | .include "../../devel/libusb1/buildlink3.mk" | | 97 | .include "../../devel/libusb1/buildlink3.mk" |
92 | .include "../../graphics/py-cairo/buildlink3.mk" | | 98 | .include "../../graphics/py-cairo/buildlink3.mk" |
93 | .include "../../lang/python/extension.mk" | | 99 | .include "../../lang/python/extension.mk" |
94 | .include "../../x11/gtk3/buildlink3.mk" | | 100 | .include "../../x11/gtk3/buildlink3.mk" |
95 | # \todo Resolve mk/curses not invoking ncurses builtin processing. | | 101 | # \todo Resolve mk/curses not invoking ncurses builtin processing. |
96 | # For now, include the ncurses package directly. | | 102 | # For now, include the ncurses package directly. |
97 | .include "../../devel/ncurses/buildlink3.mk" | | 103 | .include "../../devel/ncurses/buildlink3.mk" |
98 | #.include "../../mk/curses.buildlink3.mk" | | 104 | #.include "../../mk/curses.buildlink3.mk" |
99 | .include "../../mk/pthread.buildlink3.mk" | | 105 | .include "../../mk/pthread.buildlink3.mk" |