2008-11-07 15:08:58 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2008/11/07 15:08:59 sthen Exp $
|
2006-11-17 02:16:42 +00:00
|
|
|
|
2007-10-03 05:13:29 +00:00
|
|
|
COMMENT= critique perl source code for best practices
|
2006-11-17 02:16:42 +00:00
|
|
|
|
|
|
|
MODULES= cpan
|
2008-10-04 18:00:49 +00:00
|
|
|
DISTNAME= Perl-Critic-1.092
|
2008-11-07 15:08:58 +00:00
|
|
|
PKGNAME= p5-${DISTNAME}p1
|
2006-11-29 08:23:29 +00:00
|
|
|
CATEGORIES= devel
|
2006-11-17 02:16:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@kisoku.net>
|
|
|
|
|
2008-10-04 18:00:49 +00:00
|
|
|
# perl
|
2006-11-17 02:16:42 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2007-04-24 01:41:41 +00:00
|
|
|
RUN_DEPENDS= ::devel/p5-B-Keywords \
|
|
|
|
::devel/p5-Config-Tiny \
|
2008-10-04 18:00:49 +00:00
|
|
|
:p5-Exception-Class->=1.23:devel/p5-Exception-Class \
|
2007-04-24 01:41:41 +00:00
|
|
|
::devel/p5-File-HomeDir \
|
2008-10-04 18:00:49 +00:00
|
|
|
:p5-PPI->=1.203:textproc/p5-PPI \
|
2006-11-17 02:16:42 +00:00
|
|
|
::devel/p5-Set-Scalar \
|
2007-04-24 01:41:41 +00:00
|
|
|
::devel/p5-String-Format \
|
2008-10-06 22:07:19 +00:00
|
|
|
::devel/p5-Readonly \
|
2008-10-04 18:00:49 +00:00
|
|
|
::devel/perltidy \
|
|
|
|
::sysutils/p5-File-Which
|
2006-11-17 02:16:42 +00:00
|
|
|
|
|
|
|
MAKE_ENV+= TEST_POD=Yes
|
|
|
|
|
2006-11-29 08:23:29 +00:00
|
|
|
CONFIGURE_STYLE=modbuild
|
2006-11-17 02:16:42 +00:00
|
|
|
|
2008-10-04 18:00:49 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Perl-Critic
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* \
|
|
|
|
${PREFIX}/share/examples/p5-Perl-Critic
|
|
|
|
|
2006-11-17 02:16:42 +00:00
|
|
|
.include <bsd.port.mk>
|