freebsd-ports/devel/p5-Class-Unload/Makefile
Martin Wilke b139c69dae Unloads the given class by clearing out its symbol table and removing
it from %INC.

SYNOPSIS

    use Class::Unload;
    use Class::Inspector;

    use Some::Class;

    Class::Unload->unload( 'Some::Class' );
    Class::Inspector->loaded( 'Some::Class' ); # Returns false

    require Some::Class; # Reloads the class

WWW: http://search.cpan.org/dist/Class-Unload/

PR:		ports/132406
Submitted by:	Cezary Morga <cm at therek.net>
2009-03-15 17:17:33 +00:00

24 lines
509 B
Makefile

# New ports collection makefile for: p5-Class-Unload
# Date created: March 8th 2009
# Whom: Cezary Morga <cm@therek.net>
#
# $FreeBSD$
#
PORTNAME= Class-Unload
PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= cm@therek.net
COMMENT= Perl5 module for unloading classes
BUILD_DEPENDS= ${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Class::Unload.3
.include <bsd.port.mk>