aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-Sys-Hostname-FQDN/Makefile
blob: e4e44c883ff1a7b8d5aba7972d055be11757f69d (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
# New ports collection makefile for:    p5-Sys-Hostname-FQDN
# Date created:     2006-07-23
# Whom:         Tsung-Han Yeh <snowfly@yuntech.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   Sys-Hostname-FQDN
PORTVERSION=    0.07
CATEGORIES= sysutils perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Sys
PKGNAMEPREFIX=  p5-

MAINTAINER= snowfly@yuntech.edu.tw
COMMENT=    Get the short or long hostname

PERL_CONFIGURE= yes

MAN3=       Sys::Hostname::FQDN.3

.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

.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
RUN_DEPENDS+=   ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
.endif

.include <bsd.port.post.mk>