# New ports collection makefile for: p5-Object-Pluggable # Date created: 2010-09-29 # Whom: Jase Thew # # $FreeBSD$ # PORTNAME= Object-Pluggable PORTVERSION= 1.29 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= freebsd@beardz.net COMMENT= A base class for creating plugin-enabled objects BUILD_DEPENDS= p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= Object::Pluggable.3 \ Object::Pluggable::Constants.3 \ Object::Pluggable::Pipeline.3 .include .if ${PERL_LEVEL} < 501001 BUILD_DEPENDS+= p5-Pod-Parser>=1.36:${PORTSDIR}/textproc/p5-Pod-Parser .endif post-install: .ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/ .endif .include