summaryrefslogtreecommitdiff
path: root/dns/ddns/Makefile
blob: d581ca2eca3717624307cc802df4a42202f6ecbb (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
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>