Annotation of pkgsrc/comms/gammu/Makefile, Revision 1.9
1.9 ! obache 1: # $NetBSD: Makefile,v 1.8 2012/10/03 11:24:40 asau Exp $
1.1 wiz 2: #
3:
1.2 wiz 4: .include "Makefile.common"
1.9 ! obache 5: PKGREVISION= 3
1.1 wiz 6:
7: COMMENT= Command line utility and library to work with mobile phones
8:
9: # cmake tests for it; unclear for what it would be used
10: #BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
11: # for gammu-config
12: DEPENDS+= dialog-[0-9]*:../../misc/dialog
13:
14: USE_CMAKE= yes
1.2 wiz 15: CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
1.1 wiz 16: CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR}
1.2 wiz 17: # see py-gammu:
18: CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
19: # make sure some optional dependencies are not found:
20: CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF
21: CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF
22: CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF
23: # avoid installing bash completion scripts
24: CMAKE_ARGS+= -DBASH_BIN:FILEPATH=
1.4 wiz 25: #CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
1.1 wiz 26:
27: USE_LANGUAGES= c c++
1.3 hasso 28: USE_TOOLS+= bash:run msgfmt
1.1 wiz 29: REPLACE_BASH= utils/gammu-config utils/jadmaker
30:
31: # needed because of https://bugs.cihar.com/view.php?id=908
32: BUILDLINK_TRANSFORM+= rm:-Werror
33:
1.7 hans 34: LDFLAGS.SunOS+= -lintl
35:
1.1 wiz 36: .include "../../devel/libusb/buildlink3.mk"
37: .include "../../www/curl/buildlink3.mk"
38: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>