2005-04-28 17:40:33 +00:00
|
|
|
# New ports collection makefile for: ptunnel
|
|
|
|
# Date created: 23 April 2005
|
|
|
|
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ptunnel
|
2005-10-05 01:29:26 +00:00
|
|
|
PORTVERSION= 0.61
|
2005-04-28 17:40:33 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.cs.uit.no/~daniels/PingTunnel/
|
|
|
|
DISTNAME= PingTunnel-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
|
|
COMMENT= Tunneling TCP connections over ICMP echo request and reply
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/PingTunnel
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ptunnel
|
|
|
|
MAN8= ptunnel.8
|
|
|
|
|
|
|
|
post-patch:
|
2007-04-02 00:29:25 +00:00
|
|
|
@${REINPLACE_CMD} -e '/^CC/d;s/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/${MAKEFILE}
|
2005-04-28 17:40:33 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/stdint.h/inttypes.h/' ${WRKSRC}/ptunnel.h
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ptunnel ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ptunnel.8 ${MAN8PREFIX}/man/man8
|
|
|
|
|
2007-04-02 00:29:25 +00:00
|
|
|
.include <bsd.port.mk>
|