aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Delegation
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-04-08 16:24:46 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-04-08 16:24:46 +0000
commit914b4608304eb8590f39e7de96e05b9da57cfb3f (patch)
treeb8d2f639dd3b6329176d71f17cc3550764a59083 /devel/p5-Class-Delegation
parent5cd12d72b7e4b9009f2fba483e3535ca2086147d (diff)
downloadports-914b4608304eb8590f39e7de96e05b9da57cfb3f.tar.gz
ports-914b4608304eb8590f39e7de96e05b9da57cfb3f.zip
Notes
Diffstat (limited to 'devel/p5-Class-Delegation')
-rw-r--r--devel/p5-Class-Delegation/Makefile9
-rw-r--r--devel/p5-Class-Delegation/pkg-descr3
-rw-r--r--devel/p5-Class-Delegation/pkg-plist14
3 files changed, 15 insertions, 11 deletions
diff --git a/devel/p5-Class-Delegation/Makefile b/devel/p5-Class-Delegation/Makefile
index b21422310b27..f0c1921d8c7d 100644
--- a/devel/p5-Class-Delegation/Makefile
+++ b/devel/p5-Class-Delegation/Makefile
@@ -12,18 +12,19 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
-MAINTAINER= skv@protey.ru
+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)
- @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
- ${INSTALL_SCRIPT} ${WRKSRC}/demo/* \
- ${PREFIX}/share/examples/${PORTNAME}
+ @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/devel/p5-Class-Delegation/pkg-descr b/devel/p5-Class-Delegation/pkg-descr
index 8fe8ee657ffd..3b615bcb71cd 100644
--- a/devel/p5-Class-Delegation/pkg-descr
+++ b/devel/p5-Class-Delegation/pkg-descr
@@ -11,3 +11,6 @@ These three delegation mechanisms can be specified for:
* all methods, delegated or not.
WWW: http://search.cpan.org/search?dist=Class-Delegation
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Class-Delegation/pkg-plist b/devel/p5-Class-Delegation/pkg-plist
index cf44e84730d1..bebc3c1e8e39 100644
--- a/devel/p5-Class-Delegation/pkg-plist
+++ b/devel/p5-Class-Delegation/pkg-plist
@@ -1,12 +1,12 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Delegation/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Class/Delegation.pm
-%%PORTDOCS%%share/examples/Class-Delegation/demo_adapt_interface.pl
-%%PORTDOCS%%share/examples/Class-Delegation/demo_change_semantics.pl
-%%PORTDOCS%%share/examples/Class-Delegation/demo_facade.pl
-%%PORTDOCS%%share/examples/Class-Delegation/demo_handle.pl
-%%PORTDOCS%%share/examples/Class-Delegation/demo_inheritance.pl
-%%PORTDOCS%%share/examples/Class-Delegation/demo_pseudo.pl
-%%PORTDOCS%%@dirrm share/examples/Class-Delegation
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_adapt_interface.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_change_semantics.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_facade.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_handle.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_inheritance.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_pseudo.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Delegation
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true