aboutsummaryrefslogtreecommitdiff
path: root/dns/updatedd/Makefile
blob: 9224050975eb40cfdaec13ea4486fe2fb7883a00 (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
33
# Created by: geniusj@ods.org
# $FreeBSD$

PORTNAME=	updatedd
PORTVERSION=	2.6
CATEGORIES=	dns
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	geniusj@ods.org
COMMENT=	Dynamic DNS Update Client supporting multiple services

USES=		perl5
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		updatedd.1 updatedd-wrapper.1
MAN5=		updatedd-wrapper.conf.5

.if defined(NOPORTDOCS)
EXTRA_PATCHES+=	${PATCHDIR}/extrapatch-disable-portdocs
.endif

NO_STAGE=	yes
post-install:
	@if [ ! -f ${PREFIX}/etc/updatedd-wrapper.conf ]; then \
		${CP} -p ${PREFIX}/etc/updatedd-wrapper.conf.sample ${PREFIX}/etc/updatedd-wrapper.conf ; \
	fi

.include <bsd.port.mk>