f1f15ae8f1
Error handling for libarchive and Archive::Libarchive is fairly primitive. Most methods return an int which correspond to ARCHIVE_EOF, ARCHIVE_OK, ARCHIVE_RETRY, ARCHIVE_WARN, ARCHIVE_FAILED or ARCHIVE_FATAL. Some methods will also return the number of actual bytes written on success and one of these codes on failure. It can be tedious doing the necessary checks for each method call in a test, so this module provides tools for testing Archive::Libarchive method calls that follow this pattern.
24 lines
524 B
Makefile
24 lines
524 B
Makefile
PORTNAME= Test-Archive-Libarchive
|
|
PORTVERSION= 0.02
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Testing tools for Archive::Libarchive
|
|
WWW= https://metacpan.org/dist/Test-Archive-Libarchive
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Ref-Util>=0:devel/p5-Ref-Util \
|
|
p5-Test2-Suite>=0.000121:devel/p5-Test2-Suite
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|