aboutsummaryrefslogtreecommitdiffstats
path: root/net/iodine/Makefile
blob: 8e722100aa0d36ec14990c706394d5b527a056ee (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
# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$

PORTNAME=   iodine
PORTVERSION=    0.7.0
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://code.kryo.se/iodine/ \
        http://redundancy.redundancy.org/mirror/

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

LICENSE=    ISCL

USE_RC_SUBR=    iodined

USERS=  _iodined
GROUPS= _iodined

.include <bsd.port.pre.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodine ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/iodined ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/man/iodine.8 ${STAGEDIR}${MANPREFIX}/man/man8
    ${GZIP_CMD} ${STAGEDIR}${MANPREFIX}/man/man8/iodine.8
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README CHANGELOG TODO
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>