freebsd-ports/devel/p5-Data-Swap/Makefile
Erwin Lansing d3d48e1a43 Paraphrased from the Data:Swap's documentation ...
Data::Swap (XS) module allows to swap the contents of two referenced
variables, even if they have different types.  The main application is
to change the base type of an object after it has been created, for
example for dynamic loading of data structures:

      swap $self, bless $replacement, $newclass;

WWW: http://search.cpan.org/dist/Data-Swap/

PR:		ports/90229
Submitted by:	Parv <parv@pair.org>
2005-12-11 12:40:51 +00:00

28 lines
580 B
Makefile

# New ports collection makefile for: Data::Swap
# Date created: 10 December 2005
# Whom: Parv <parv@pair.org>
#
# $FreeBSD$
#
PORTNAME= Data-Swap
PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX= p5-
MAINTAINER= parv@pair.com
COMMENT= XS module to swap the contents and types of referenced variables
PERL_CONFIGURE= yes
MAN3= Data::Swap.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= need at least Perl 5.6; install lang/perl or lang/perl5.8
.endif
.include <bsd.port.post.mk>