76fba2d9c2
Differential Revision: https://reviews.freebsd.org/D1515 Approved by: marino(mentor)
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# Created by: George Hartzell <hartzell@alerce.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= App-Cmd
|
|
PORTVERSION= 0.326
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= App::Cmd - Write command line apps with less suffering
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Capture-Tiny>=0.13:${PORTSDIR}/devel/p5-Capture-Tiny \
|
|
p5-Class-Load>=0.06:${PORTSDIR}/devel/p5-Class-Load \
|
|
p5-Getopt-Long-Descriptive>=0.084:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive \
|
|
p5-IO-TieCombine>=0:${PORTSDIR}/devel/p5-IO-TieCombine \
|
|
p5-String-RewritePrefix>=0:${PORTSDIR}/textproc/p5-String-RewritePrefix \
|
|
p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
|
|
p5-Sub-Install>=0:${PORTSDIR}/devel/p5-Sub-Install
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
|
|
p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
|
|
p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools \
|
|
p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd \
|
|
p5-ExtUtils-MakeMaker>=6.4:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501800
|
|
BUILD_DEPENDS+= p5-Getopt-Long>=2.39:${PORTSDIR}/devel/p5-Getopt-Long
|
|
RUN_DEPENDS+= p5-Getopt-Long>=2.39:${PORTSDIR}/devel/p5-Getopt-Long
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|