2018-01-26 14:28:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2018/01/26 13:28:27 jperkin Exp $
|
2009-03-04 03:11:07 +01:00
|
|
|
|
2017-06-08 13:27:05 +02:00
|
|
|
DISTNAME= libproxy-0.4.15
|
2009-03-04 03:11:07 +01:00
|
|
|
CATEGORIES= www gnome
|
2016-01-19 11:51:16 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libproxy/}
|
2009-03-04 03:11:07 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-01-19 11:51:16 +01:00
|
|
|
HOMEPAGE= http://libproxy.github.io/libproxy/
|
2009-03-04 03:11:07 +01:00
|
|
|
COMMENT= Library that provides automatic proxy configuration management
|
2009-12-15 12:00:11 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2009-03-04 03:11:07 +01:00
|
|
|
|
2013-05-24 20:22:57 +02:00
|
|
|
USE_CMAKE= yes
|
2018-01-26 14:28:27 +01:00
|
|
|
USE_LANGUAGES= c99 c++03
|
2017-06-08 13:27:05 +02:00
|
|
|
USE_TOOLS+= pkg-config gmake
|
|
|
|
CMAKE_ARGS+= -DWITH_PERL:BOOL=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_PYTHON2:BOOL=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_PYTHON3:BOOL=OFF
|
2016-03-11 11:56:20 +01:00
|
|
|
CMAKE_ARGS+= -DWITH_KDE:BOOL=OFF
|
2009-03-04 03:11:07 +01:00
|
|
|
|
2015-04-27 13:03:42 +02:00
|
|
|
# Need socket libraries on SunOS for both the shared library and test programs.
|
|
|
|
CMAKE_ARGS.SunOS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
|
|
|
|
CMAKE_ARGS.SunOS+= -DCMAKE_SHARED_LINKER_FLAGS:STRING="-lnsl -lsocket -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
|
2013-05-31 10:41:55 +02:00
|
|
|
|
2013-05-24 20:22:57 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= bindings/csharp/libproxy-sharp-1.0.pc.cmake
|
|
|
|
PKGCONFIG_OVERRIDE+= libproxy/libproxy-1.0.pc.in
|
2009-03-04 03:11:07 +01:00
|
|
|
|
2014-01-08 10:57:30 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2009-03-04 03:11:07 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2010-08-17 15:10:22 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2009-03-04 03:11:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|