aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-TheSchwartz/Makefile
blob: efdaf876682019691cf30492b5163914dd61b63a (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
PORTNAME=	TheSchwartz
PORTVERSION=	1.12
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:JFEARN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Reliable job queue
WWW=		https://metacpan.org/release/TheSchwartz

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Data-ObjectDriver>=0.04:devel/p5-Data-ObjectDriver

OPTIONS_DEFINE=	DOCS

NO_ARCH=	yes
USES=		perl5 shebangfix
USE_PERL5=	modbuild
SHEBANG_FILES=	extras/check_schwartz extras/thetop

PORTDOCS=	*

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/extras/check_schwartz ${WRKSRC}/extras/thetop ${STAGEDIR}${PREFIX}/bin/

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>