aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-File-CounterFile/Makefile
blob: 0f63d2293b5ac6e0cae5d0b95a5f10e4a0cff64f (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
# New ports collection makefile for:    p5-File-CounterFile
# Date created:             Jan 28 2000
# Whom:                 Wei-chun Chao
#
# $FreeBSD$
#

PORTNAME=   File-CounterFile
PORTVERSION=    1.04
CATEGORIES= misc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    Perl module for persistent counter class

PERL_CONFIGURE= yes

MAN3=       File::CounterFile.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
# make PREFIX-clean under perl 5.005_03
post-configure:
    ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif

.include <bsd.port.post.mk>