aboutsummaryrefslogtreecommitdiffstats
path: root/net/etunnel/Makefile
blob: fe757c232a599ff0ecf41f6b0ec40222795ca4c5 (plain) (blame)
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
# New ports collection makefile for:    etunnel
# Date created:     03.05.2004
# Whom:         Kostas Petrikas <expl@punktas.lt>
#
# $FreeBSD$
#

PORTNAME=   etunnel
PORTVERSION=    0.0.5
CATEGORIES= net
MASTER_SITES=   http://expl.homeunix.org/etunnel/

MAINTAINER= expl@punktas.lt
COMMENT=    TCP/UDP connections tunneling tool via proxy or directly

USE_REINPLACE=  yes
ALL_TARGET= ${PORTNAME}

MAN1=   etunnel.1

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>