aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-DNS-EasyDNS/Makefile
blob: d101325271fc1e1c6c448d7e691578b7bfedc5ec (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:    p5-DNS-EasyDNS
# Date created:             28 May 2006
# Whom:                 Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   DNS-EasyDNS
PORTVERSION=    0.04
CATEGORIES= dns perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DNS
PKGNAMEPREFIX=  p5-

MAINTAINER= aaron@FreeBSD.org
COMMENT=    Update your EasyDNS dynamic DNS entries

BUILD_DEPENDS=  ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS=    ${BUILD_DEPENDS}

MAN3=   DNS::EasyDNS.3

PERL_CONFIGURE= yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6 due to dependencies.  Please install lang/perl5.8 and try again
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>