freebsd-ports/devel/p5-Xporter/Makefile
Sunpoet Po-Chuan Hsieh 6e46bd38f5 - Add p5-Xporter 0.1.2
Xporter provides EXPORT functionality similar to Exporter with some different
rules to simplify common cases.

The primary difference, in Xporter is that the default EXPORT list remains the
default EXPORT list unless the user specifically asks for it to not be included,
whereas in Exporter, asking for any additional exports from the EXPORT_OK list,
clears the default EXPORT list.

Xporter makes it easy to reset or clear the default so that choice is left to
the user.

To reset the default EXPORT list to empty, a bare minus ('-') or logical-not
sign ('!') is placed as the first parameter in the client's import list.

WWW: http://search.cpan.org/dist/Xporter/
2015-01-18 10:27:41 +00:00

29 lines
643 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Xporter
PORTVERSION= 0.1.2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:LAWALSH
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Alternative Exporter with persistant defaults and auto-ISA
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-mem>=0.4.5:${PORTSDIR}/devel/p5-mem
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.86:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>