# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_0_0/devel/p5-PAR-Packer/Makefile 327724 2013-09-20 17:13:42Z bapt $

PORTNAME=	PAR-Packer
PORTVERSION=	1.01.4
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION:C/.([0-9])$/\1/}

MAINTAINER=	rafan@FreeBSD.org
COMMENT=	PAR Packager

RUN_DEPENDS=	p5-Archive-Zip>=1.00:${PORTSDIR}/archivers/p5-Archive-Zip \
		p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress \
		p5-Getopt-ArgvFile>=1.07:${PORTSDIR}/devel/p5-Getopt-ArgvFile \
		p5-Module-ScanDeps>=1.09:${PORTSDIR}/devel/p5-Module-ScanDeps \
		p5-Module-Signature>=0:${PORTSDIR}/security/p5-Module-Signature \
		p5-PAR-Dist>=0.22:${PORTSDIR}/devel/p5-PAR-Dist \
		p5-PAR>=1.00.5:${PORTSDIR}/devel/p5-PAR \
		p5-B-Deobfuscate>=0:${PORTSDIR}/devel/p5-B-Deobfuscate
BUILD_DEPENDS:=	${RUN_DEPENDS}

CONFLICTS=	sketchy-*

USES=		perl5
USE_PERL5=	configure
MAKE_JOBS_UNSAFE=	yes

MAN1=		par.pl.1 parl.1 pp.1 tkpp.1
MAN3=		pp.3 \
		App::Packer::PAR.3 \
		Dynamic.3 \
		PAR::Filter.3 \
		PAR::Filter::Bleach.3 \
		PAR::Filter::Bytecode.3 \
		PAR::Filter::Obfuscate.3 \
		PAR::Filter::PatchContent.3 \
		PAR::Filter::PodStrip.3 \
		PAR::Packer.3 \
		PAR::StrippedPARL::Base.3 \
		Static.3

NO_STAGE=	yes
.include <bsd.port.mk>
