mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
956be2e3f5
slurp) an entire file into memory for processing. This module allows the replacement of the prototypical foreach- or while- loops used for opening and reading of files with single-line constructs. Of note with this module is that the magic of the @ARGV variable and the input record separator, $/, are used to facilitate the reading of entire files into either an array or scalar using minimal code.
30 lines
601 B
Makefile
30 lines
601 B
Makefile
# New ports collection makefile for: p5-Slurp
|
|
# Date created: October 28, 2011
|
|
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Slurp
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:ROBAU
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Slurp entire files into variables
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PERL_CONFIGURE= YES
|
|
|
|
MAN3= Slurp.3
|
|
|
|
PLIST_FILES= %%SITE_PERL%%/Slurp.pm \
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Slurp/.packlist
|
|
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Slurp
|
|
|
|
.include <bsd.port.mk>
|