aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Filesys-Virtual-Plain/Makefile
blob: 7836cde6e5acad3e5e7c57afa412eb6e6959ddd9 (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-Filesys-Virtual-Plain
# Date created:             05 February 2005
# Whom:                 Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Filesys-Virtual-Plain
PORTVERSION=    0.06
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Filesys
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    A Plain virtual filesystem

BUILD_DEPENDS=  ${SITE_PERL}/Filesys/Virtual.pm:${PORTSDIR}/devel/p5-Filesys-Virtual
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   Filesys::Virtual::Plain.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
post-patch:
    @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Plain.pm
.endif

.include <bsd.port.post.mk>