summaryrefslogtreecommitdiff
path: root/dns/hetzner_ddns/Makefile
blob: 732c914ace1cfaee56b2d57e90cc20c9be69d3ae (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
30
31
32
PORTNAME=	hetzner_ddns
DISTVERSION=	0.2.2
CATEGORIES=	dns

MAINTAINER=	filip@parag.rs
COMMENT=	Hetzner Dynamic DNS Daemon

LICENSE=	BSD2CLAUSE

RUN_DEPENDS=	jq:textproc/jq \
		curl:ftp/curl

NO_ARCH=	yes
NO_BUILD=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	filiparag

PLIST_FILES=	bin/${PORTNAME} \
		share/man/man1/${PORTNAME}.1.gz \
		"@sample etc/${PORTNAME}.conf.sample"

USE_RC_SUBR=	${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.man \
		${STAGEDIR}${MANPREFIX}/share/man/man1/${PORTNAME}.1
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample

.include <bsd.port.mk>