freebsd-ports/devel/p5-Object-Pluggable/Makefile
Sunpoet Po-Chuan Hsieh fd1b029745 - Update to 1.29
Changes:	http://search.cpan.org/dist/Object-Pluggable/Changes
PR:		ports/151514
Submitted by:	Jase Thew <freebsd@beardz.net> (maintainer)
Approved by:	pgollucci (mentor, implicit)
2010-10-19 08:13:04 +00:00

39 lines
909 B
Makefile

# New ports collection makefile for: p5-Object-Pluggable
# Date created: 2010-09-29
# Whom: Jase Thew <freebsd@beardz.net>
#
# $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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>