Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/comms/gammu/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/comms/gammu/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- pkgsrc/comms/gammu/Makefile 2009/05/25 12:50:00 1.1 +++ pkgsrc/comms/gammu/Makefile 2009/05/26 21:31:21 1.2 @@ -1,18 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2009/05/25 12:50:00 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2009/05/26 21:31:21 wiz Exp $ # -DISTNAME= gammu-1.24.0 -CATEGORIES= comms -MASTER_SITES= http://dl.cihar.com/gammu/releases/ \ - http://mirror.clickcreations.com/gammu/releases/ \ - http://dl.cihar.com.nyud.net/gammu/releases/ \ - ftp://dl.cihar.com/gammu/releases/ -EXTRACT_SUFX= .tar.bz2 +.include "Makefile.common" -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://cihar.com/gammu/ COMMENT= Command line utility and library to work with mobile phones -LICENSE= gnu-gpl-v2 +PKGREVISION= 1 # cmake tests for it; unclear for what it would be used #BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen @@ -22,20 +14,24 @@ DEPENDS+= dialog-[0-9]*:../../misc/dialo PKG_DESTDIR_SUPPORT= user-destdir USE_CMAKE= yes +CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR} +# see py-gammu: +CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF +# make sure some optional dependencies are not found: +CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF +CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF +CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF +# avoid installing bash completion scripts +CMAKE_ARGS+= -DBASH_BIN:FILEPATH= USE_LANGUAGES= c c++ USE_TOOLS+= bash:run REPLACE_BASH= utils/gammu-config utils/jadmaker -PY_PATCHPLIST= yes # needed because of https://bugs.cihar.com/view.php?id=908 BUILDLINK_TRANSFORM+= rm:-Werror -#-- MySQL not found. -#-- Could not find PostgreSQL -#-- libdbi not found. -.include "../../lang/python/extension.mk" .include "../../devel/libusb/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk"