aboutsummaryrefslogtreecommitdiffstats
path: root/net/iodine/Makefile
blob: 9c634c5151e70297fa030ac1944a71c13d7660b8 (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
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    iodine
# Date created:             Feb 15 2006
# Whom:                 Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   iodine
PORTVERSION=    0.6.0r1
CATEGORIES= net
MASTER_SITES=   http://code.kryo.se/iodine/ \
        http://redundancy.redundancy.org/mirror/
DISTNAME=   ${PORTNAME}-0.6.0-rc1

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

PLIST_FILES=    bin/iodine sbin/iodined

PORTDOCS=   CHANGELOG README TODO

MAN8=       iodine.8
MLINKS=     iodine.8 iodined.8

USE_RC_SUBR=    iodined

.include <bsd.port.pre.mk>

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

post-install:
    @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>