summaryrefslogtreecommitdiff
path: root/dns/ddns/Makefile
blob: 76d955752f5e1fb7410283ee59151434a9839728 (plain)
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
PORTNAME=	ddns
PORTVERSION=	1.0
CATEGORIES=	dns
MASTER_SITES=	http://instinctive.eu/code/

MAINTAINER=	natbsd@instinctive.eu
COMMENT=	Lightweight UDP-based dynamic DNS updater
WWW=		http://fossil.instinctive.eu/ddns/home

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>