summaryrefslogtreecommitdiffstats
path: root/net/prtunnel/Makefile
blob: fd770b7be7ea634a88a7f5fbe60c02c95fce66f7 (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
# New ports collection makefile for:	prtunnel
# Date created:		19.06.2003
# Whom:			Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=	prtunnel
PORTVERSION=	0.2.1
CATEGORIES=	net
MASTER_SITES=	http://joshbeam.com/files/

MAINTAINER=	krion@FreeBSD.org
COMMENT=	Tunnel for TCP connections using an HTTP or SOCKS5 proxy

USE_SIZE=	yes
USE_REINPLACE=	yes
ALL_TARGET=	${PORTNAME}

MAN1=		prtunnel.1

PORTDOCS=	README
PLIST_FILES=	bin/prtunnel

post-patch:
	@${REINPLACE_CMD} -e 's|^PREFIX=|#PREFIX=|g ; \
	s|CC=gcc|CC?=gcc|g ; \
	s|CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in README
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud