2007-02-24 07:52:26 +00:00
|
|
|
# New ports collection makefile for: iodine
|
|
|
|
# Date created: Feb 15 2006
|
|
|
|
# Whom: Rong-En Fan <rafan@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= iodine
|
2009-01-26 04:34:46 +00:00
|
|
|
PORTVERSION= 0.5.0
|
2007-02-24 07:52:26 +00:00
|
|
|
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
|
|
|
|
|
2009-01-26 04:34:46 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
|
2007-02-24 07:52:26 +00:00
|
|
|
PORTDOCS= CHANGELOG README TODO
|
|
|
|
|
2007-03-29 11:04:20 +00:00
|
|
|
MAN8= iodine.8
|
2008-01-11 15:47:23 +00:00
|
|
|
MLINKS= iodine.8 iodined.8
|
|
|
|
|
|
|
|
USE_RC_SUBR= iodined
|
2007-03-29 11:04:20 +00:00
|
|
|
|
2007-02-24 07:52:26 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
2007-03-29 11:04:20 +00:00
|
|
|
${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
|
2007-02-24 07:52:26 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2008-01-11 15:47:23 +00:00
|
|
|
post-install:
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2007-02-24 07:52:26 +00:00
|
|
|
.include <bsd.port.post.mk>
|