summaryrefslogtreecommitdiff
path: root/www/libproxy/Makefile
blob: 3c4d678d41946570b933badfe25a337346c5b233 (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
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.12 2012/10/03 22:14:03 wiz Exp $
#

DISTNAME=	libproxy-0.3.1
CATEGORIES=	www gnome
MASTER_SITES=	http://libproxy.googlecode.com/files/
EXTRACT_SUFX=	.tar.bz2

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

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+= --without-python
CONFIGURE_ENV+=	PYTHON=${TRUE}
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config gmake
PY_PATCHPLIST=	yes
CHECK_PORTABILITY_SKIP= test.d/*
USE_LANGUAGES=	c99
LIBS.SunOS+=	-lnsl -lsocket

PKGCONFIG_OVERRIDE+=	libproxy-1.0.pc.in

# 0.3.0 doesn't install the python bindings even when they
# are enabled, so comment out dependencies.
#BUILDLINK_API_DEPENDS.python26+= python26>=2.6.2nb4

post-extract:
	${RM} -rf ${WRKSRC}/test.d/.svn

#.include "../../lang/python/extension.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"