summaryrefslogtreecommitdiff
path: root/net/connect/Makefile
blob: c0c84029c7584afd3679402740c4a594e301bf0f (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
# $NetBSD: Makefile,v 1.17 2015/03/09 09:24:35 mef Exp $

DISTNAME=	1.104
PKGNAME=	connect-${DISTNAME}
CATEGORIES=	net security
MASTER_SITES=   http://bitbucket.org/gotoh/connect/get/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://bitbucket.org/gotoh/connect/wiki/Home
COMMENT=	Open a TCP connection using a SOCKS4/5 or HTTP proxy server
LICENSE=	gnu-gpl-v2

CONFLICTS=	azara-[0-9]*

DIST_SUBDIR=	${PKGBASE}
WRKSRC=		${WRKDIR}/gotoh-${PKGNAME_NOREV}
USE_TOOLS=	gmake

LIBS.Darwin+=	-lresolv
LIBS.SunOS+=	-lresolv -lsocket -lnsl

INSTALLATION_DIRS=	bin share/doc/connect

pre-patch:
	(cd ${WRKDIR}; ${MV} gotoh-connect-* gotoh-${PKGNAME_NOREV})

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/connect ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${DESTDIR}${PREFIX}/share/doc/connect
	${INSTALL_DATA} ${WRKSRC}/doc/manual.txt ${DESTDIR}${PREFIX}/share/doc/connect

.include "../../mk/bsd.pkg.mk"