2001-11-18 04:23:25 +01:00
|
|
|
# New ports collection makefile for: Class::Delegation
|
|
|
|
# Date created: 5 Nov 2001
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Class-Delegation
|
2006-05-24 09:36:55 +02:00
|
|
|
PORTVERSION= 1.7.1
|
2001-11-18 04:23:25 +01:00
|
|
|
CATEGORIES= devel perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2006-05-24 09:36:55 +02:00
|
|
|
MASTER_SITE_SUBDIR= ../../authors/id/D/DC/DCONWAY
|
2001-11-18 04:23:25 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
2006-05-24 09:36:55 +02:00
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
2001-11-18 04:23:25 +01:00
|
|
|
|
2002-04-08 18:24:46 +02:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Object-oriented delegation
|
2001-11-18 04:23:25 +01:00
|
|
|
|
2006-05-24 09:36:55 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2001-11-18 04:23:25 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Class::Delegation.3
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
2002-04-08 18:24:46 +02:00
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/demo/* ${EXAMPLESDIR}
|
2001-11-18 04:23:25 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|