| @@ -1,38 +1,39 @@ | | | @@ -1,38 +1,39 @@ |
1 | # $NetBSD: Makefile,v 1.14 2015/08/17 16:42:53 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2015/11/07 23:16:18 dholland Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gammu-1.36.4 | | 4 | DISTNAME= gammu-1.36.4 |
5 | CATEGORIES= comms | | 5 | CATEGORIES= comms |
6 | MASTER_SITES= http://dl.cihar.com/gammu/releases/ | | 6 | MASTER_SITES= http://dl.cihar.com/gammu/releases/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://wammu.eu/gammu/ | | 10 | HOMEPAGE= http://wammu.eu/gammu/ |
11 | COMMENT= Command line utility and library to work with mobile phones | | 11 | COMMENT= Command line utility and library to work with mobile phones |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | # cmake tests for it; unclear for what it would be used | | 14 | # cmake tests for it; unclear for what it would be used |
15 | #BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen | | 15 | #BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen |
16 | # for gammu-config | | 16 | # for gammu-config |
17 | DEPENDS+= dialog-[0-9]*:../../misc/dialog | | 17 | DEPENDS+= dialog-[0-9]*:../../misc/dialog |
18 | | | 18 | |
19 | USE_CMAKE= yes | | 19 | USE_CMAKE= yes |
20 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | | 20 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON |
21 | CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR} | | 21 | CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR} |
22 | # make sure some optional dependencies are not found: | | 22 | # make sure some optional dependencies are not found: |
23 | CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF | | 23 | CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF |
24 | CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF | | 24 | CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF |
25 | CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF | | 25 | CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF |
| | | 26 | CMAKE_ARGS+= -DWITH_Glib:BOOL=OFF |
26 | # avoid installing bash completion scripts | | 27 | # avoid installing bash completion scripts |
27 | CMAKE_ARGS+= -DBASH_BIN:FILEPATH= | | 28 | CMAKE_ARGS+= -DBASH_BIN:FILEPATH= |
28 | #CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON | | 29 | #CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON |
29 | | | 30 | |
30 | # silence warning | | 31 | # silence warning |
31 | CMAKE_ARGS+= -Wno-dev | | 32 | CMAKE_ARGS+= -Wno-dev |
32 | CMAKE_ARGS+= -DINSTALL_DOC=ON | | 33 | CMAKE_ARGS+= -DINSTALL_DOC=ON |
33 | | | 34 | |
34 | USE_LANGUAGES= c c++ | | 35 | USE_LANGUAGES= c c++ |
35 | USE_TOOLS+= bash:run msgfmt | | 36 | USE_TOOLS+= bash:run msgfmt |
36 | REPLACE_BASH= utils/gammu-config utils/jadmaker | | 37 | REPLACE_BASH= utils/gammu-config utils/jadmaker |
37 | | | 38 | |
38 | # needed because of https://bugs.cihar.com/view.php?id=908 | | 39 | # needed because of https://bugs.cihar.com/view.php?id=908 |