aboutsummaryrefslogtreecommitdiffstats
path: root/dns/updatedd/Makefile
blob: b2b1ff2d12889e2aa356948cd8a3600e12d9f9fc (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
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    updatedd
# Date created:     2003-12-02
# Whom:         geniusj@ods.org
#
# $FreeBSD$
#

PORTNAME=   updatedd
PORTVERSION=    1.8
PORTREVISION=   1
CATEGORIES= dns
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}_${PORTVERSION}-1

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

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LIBDIR=     ${PREFIX}/lib/${PORTNAME}

MAN1=       updatedd.1
DOCS=       Documentation/README.* Documentation/rc_updatedd_*

# Default Service Plugin
# Valid services: dyndns, hn, noip, ods, ovh
DEFAULTPLUGIN?= ods

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/updatedd ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/Documentation/*.1 ${MAN1PREFIX}/man/man1
    @${MKDIR} ${LIBDIR}
    ${INSTALL_DATA} ${WRKSRC}/src/plugins/*.so ${LIBDIR}
    ${LN} -sf ${LIBDIR}/${DEFAULTPLUGIN}.so ${LIBDIR}/default.so
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>