freebsd-ports/devel/p5-Module-CoreList/Makefile
Lars Thegler 12d8ed5402 Update to 2.51
PR:		ports/158116
Submitted by:	Jin-Sih Lin <linpct@gmail.com>
2011-06-21 17:06:32 +00:00

38 lines
829 B
Makefile

# New ports collection makefile for: devel/p5-Module-CoreList
# Date created: Aug 27 2003
# Whom: Autrijus Tang <autrijus@autrijus.org>
#
# $FreeBSD$
#
PORTNAME= Module-CoreList
PORTVERSION= 2.51
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= See what modules shipped with versions of perl
PERL_CONFIGURE= yes
MAN1= p5corelist.1
MAN3= Module::CoreList.3
SUB_FILES= pkg-install
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500809
PLIST_FILES+= bin/corelist
.endif
pre-patch:
@${MV} ${WRKSRC}/corelist ${WRKSRC}/p5corelist
@${PERL} -pi -e 's,^corelist$$,p5corelist,' ${WRKSRC}/MANIFEST
@${PERL} -pi -e 's,corelist,p5corelist,' ${WRKSRC}/Makefile.PL ${WRKSRC}/t/pod.t
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>