# New ports collection makefile for:	iodine
# Date created:				Feb 15 2006
# Whom:					Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD: ports/net/iodine/Makefile,v 1.3 2007/12/15 09:10:34 rafan Exp $
#

PORTNAME=	iodine
PORTVERSION=	0.4.1
CATEGORIES=	net
MASTER_SITES=	http://code.kryo.se/iodine/

MAINTAINER=	rafan@FreeBSD.org
COMMENT=	Tunnel IPv4 data through a DNS server

PLIST_FILES=	bin/iodine sbin/iodined

PORTDOCS=	CHANGELOG README TODO

MAN8=		iodine.8

.include <bsd.port.pre.mk>

do-build:
	@cd ${WRKSRC}/src; ${MAKE} all

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${PREFIX}/sbin
.for m in ${MAN8}
	${INSTALL_MAN} ${WRKSRC}/man/${m} ${MANPREFIX}/man/man8
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1