blob: e058d227df71eefc49376f5a4c85de12c45c3cb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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
MASTER_SITE_SUBDIR= CPAN:HINRIK
PKGNAMEPREFIX= p5-
MAINTAINER= freebsd@beardz.net
COMMENT= A base class for creating plugin-enabled objects
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
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>
|