blob: ce68b4f3e5edf5409c47908d1d6ef92bae7c4645 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Created by: Serguei Okladnikov <oklaspec@gmail.com>
# $FreeBSD$
# Date created: 2015-05-28
PORTNAME= Minilla
PORTVERSION= 2.5.0
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR=CPAN:TOKUHIROM
PKGNAMEPREFIX= p5-
MAINTAINER= oklaspec@gmail.com
COMMENT= CPAN module authoring tool
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= git>=0:devel/git \
tree>=0:sysutils/tree \
p5-App-cpanminus>=1.6902:devel/p5-App-cpanminus \
p5-Config-Identity>=0:devel/p5-Config-Identity \
p5-Data-Section-Simple>=0.04:devel/p5-Data-Section-Simple \
p5-CPAN-Uploader>=0:devel/p5-CPAN-Uploader \
p5-Class-XSAccessor>=0:devel/p5-Class-XSAccessor \
p5-Config-Identity>=0:devel/p5-Config-Identity \
p5-Devel-CheckBin>=0:devel/p5-Devel-CheckBin \
p5-Devel-GlobalDestruction>=0:devel/p5-Devel-GlobalDestruction \
p5-File-Copy-Recursive>=0:devel/p5-File-Copy-Recursive \
p5-File-Which>=0:sysutils/p5-File-Which \
p5-File-pushd>=0:devel/p5-File-pushd \
p5-JSON>=0:converters/p5-JSON \
p5-Module-Build-Tiny>=0:devel/p5-Module-Build-Tiny \
p5-Module-CPANfile>=0.9025:devel/p5-Module-CPANfile \
p5-Module-Runtime>=0:devel/p5-Module-Runtime \
p5-Moo>=1.001:devel/p5-Moo \
p5-Pod-Markdown>=1.322:textproc/p5-Pod-Markdown \
p5-TOML>=0:textproc/p5-TOML \
p5-Text-MicroTemplate>=0.20:textproc/p5-Text-MicroTemplate \
p5-Try-Tiny>=0:lang/p5-Try-Tiny \
p5-Role-Tiny>=0:devel/p5-Role-Tiny \
p5-Test-Output>=0:devel/p5-Test-Output \
p5-Test-Requires>=0:devel/p5-Test-Requires \
p5-strictures>=0:devel/p5-strictures \
p5-Software-License>=0:misc/p5-Software-License \
p5-Version-Next>=0:textproc/p5-Version-Next
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep
USES= perl5
USE_PERL5= modbuild
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502400
BUILD_DEPENDS+= p5-Module-Metadata>=1.000027:devel/p5-Module-Metadata
RUN_DEPENDS+= p5-Module-Metadata>=1.000027:devel/p5-Module-Metadata
.endif
regression-test: build
@test ! -e ${WRKDIR}/.gitconfig && \
${SETENV} ${MAKE_ENV} git config --global user.name "ports-test" && \
${SETENV} ${MAKE_ENV} git config --global user.email "${USER}@${HOST}" || \
true
@cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} test
.include <bsd.port.post.mk>
|