aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsmax-perl/Makefile
blob: f297838a49f5ee3993264c30e28d9b7cd6db4f9a (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
# New ports collection makefile for:    dnsmax-perl
# Date created:                         Sun Jan 23 20:27:00 CST 2005
# Whom:                                 Dan Smith <dan@algenta.com>
#
# $FreeBSD$
#

PORTNAME=   dnsmax-perl
PORTVERSION=    1.0.1
CATEGORIES= dns
MASTER_SITES=   SF/dynamicdns/${PORTNAME}/${PORTVERSION}
DISTNAME=   ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}

MAINTAINER= dan@algenta.com
COMMENT=    DNSMax-perl is a perl DNS update client for the REST DNSMax protocol

BUILD_DEPENDS=  p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
        p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww

USE_ZIP=    yes
NO_BUILD=   yes
USE_PERL5=  yes

PLIST_FILES=    bin/dnsmax-perl
PORTDOCS=   LICENSE INSTALL README

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/dnsmax.pl ${PREFIX}/bin/dnsmax-perl
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>