aboutsummaryrefslogtreecommitdiffstats
path: root/dns/ddns/Makefile
blob: c6f4c7e83c65c19691959b0a5cd57c2f6180ee43 (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
# Created by: Natacha Porte <natbsd@instinctive.eu>
# $FreeBSD$

PORTNAME=   ddns
PORTVERSION=    1.0
CATEGORIES= dns
MASTER_SITES=   http://instinctive.eu/code/

MAINTAINER= natbsd@instinctive.eu
COMMENT=    Lightweight UDP-based dynamic DNS updater

LICENSE=    ISCL

MAKEFILE=   BSDmakefile
USES=   tar:bzip2

USE_RC_SUBR=    ddns_client ddns_server

SUB_FILES=  pkg-message
PLIST_FILES=    sbin/ddns-server sbin/ddns-client \
        etc/ddns_client.conf.sample etc/ddns_server.conf.sample

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ddns-client ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_PROGRAM} ${WRKSRC}/ddns-server ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${FILESDIR}/ddns_client.conf.sample \
        ${STAGEDIR}${PREFIX}/etc
    ${INSTALL_DATA} ${FILESDIR}/ddns_server.conf.sample \
        ${STAGEDIR}${PREFIX}/etc

.include <bsd.port.mk>