aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dynip/Makefile
blob: 369d58e8da10918ba2b7e273dcc7ba5ab043ea66 (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
# Created by: Joe Barbish
# $FreeBSD$

PORTNAME=   dynip
PORTVERSION=    0.0
CATEGORIES= dns
MASTER_SITES=   SF/${PORTNAME}

MAINTAINER= dynip@a1poweruser.com
COMMENT=    Dynamic IP Address Updater

LICENSE=    BSD2CLAUSE

USES=       tar:bzip2
NO_BUILD=   yes
NO_ARCH=    yes

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/dynip           \
        ${STAGEDIR}${PREFIX}/bin

    ${INSTALL_SCRIPT} ${WRKSRC}/dynip_rcd       \
        ${STAGEDIR}${PREFIX}/etc/rc.d/dynip

    ${INSTALL_MAN} ${WRKSRC}/dynip.8 \
        ${STAGEDIR}${MAN8PREFIX}/man/man8

    @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
    ${INSTALL_SCRIPT} ${WRKSRC}/dynip_daily     \
        ${STAGEDIR}${PREFIX}/etc/periodic/daily/dynip

.include <bsd.port.mk>