summaryrefslogtreecommitdiff
path: root/www/libproxy/Makefile
blob: 8cb24b91cd61a6dd6787371ddfa3f0f827d1db44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.18 2013/05/31 08:41:55 wiz Exp $

DISTNAME=	libproxy-0.4.11
CATEGORIES=	www gnome
MASTER_SITES=	http://libproxy.googlecode.com/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://code.google.com/p/libproxy/
COMMENT=	Library that provides automatic proxy configuration management
LICENSE=	gnu-lgpl-v2.1

USE_CMAKE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES=	c99 c++
CMAKE_ARGS+=	-DWITH_PYTHON:BOOL=OFF

.include "../../mk/bsd.fast.prefs.mk"

.if (${OPSYS} == "SunOS")
# add libraries needed for Solaris, and add stuff cmake would add it on its own
CMAKE_ARGS+=	CMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket ${COMPILER_RPATH_FLAG}${PREFIX}/lib"
.endif

PKGCONFIG_OVERRIDE+=	bindings/csharp/libproxy-sharp-1.0.pc.cmake
PKGCONFIG_OVERRIDE+=	libproxy/libproxy-1.0.pc.in

.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"