aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Delegation/Makefile
blob: f0c1921d8c7d81e1d966aee20e3d21fc10a75d55 (plain) (blame)
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
# New ports collection makefile for:    Class::Delegation
# Date created:     5 Nov 2001
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Class-Delegation
PORTVERSION=    1.00
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org

PERL_CONFIGURE= yes
PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       Class::Delegation.3

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>