aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-HomeDir/Makefile
blob: e61dabdf28246fd2c63dd06bae96bf766df2cced (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
# New ports collection makefile for:    devel/p5-File-HomeDir
# Date created:             3 March 2005
# Whom:                 Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   File-HomeDir
PORTVERSION=    0.58
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX=  p5-

MAINTAINER= leeym@FreeBSD.org
COMMENT=    Get home directory for self or other users

BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       File::HomeDir.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
EXTRA_PATCHES=  ${PATCHDIR}/500503-*
.endif

.include <bsd.port.post.mk>