blob: ce93de1d24979794f7f93a4d99c2682494718b5b (
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-Test-HasVersion
# Date created: 2006-07-16
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Test-HasVersion
PORTVERSION= 0.01.2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/F/FE/FERREIRA
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-0.012
MAINTAINER= gslin@gslin.org
COMMENT= Check Perl modules have version numbers
PERL_CONFIGURE= yes
MAN3= Test::HasVersion.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
${PERL} -pi -e '$$_ = "" if /^use warnings/' ${WRKSRC}/HasVersion.pm
.endif
.include <bsd.port.post.mk>
|