aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Proc-PID-File/Makefile
blob: 639d8bdd9533c1a4f7e812327f086523c2a5f0bb (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:    p5-Proc-PID-File
# Date created:             Apr 13 2004
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$

PORTNAME=   Proc-PID-File
PORTVERSION=    1.24
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Proc
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    A module to manage process id files

PERL_CONFIGURE= yes

MAN3=       Proc::PID::File.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
post-patch:
    @${PERL} -pi -e '$$_ = "" if /no warnings/' ${WRKSRC}/File.pm

# 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>