aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Delegation
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-04-09 00:24:46 +0800
committerskv <skv@FreeBSD.org>2002-04-09 00:24:46 +0800
commitccbadc021cb340aa0c24afcdc546a40f5d944714 (patch)
tree334af0a70b9c2e91d12616be1b182aa848e51286 /devel/p5-Class-Delegation
parent7db1881f0114324d6eeae6bd2f70878f3159a506 (diff)
downloadfreebsd-ports-gnome-ccbadc021cb340aa0c24afcdc546a40f5d944714.tar.gz
freebsd-ports-gnome-ccbadc021cb340aa0c24afcdc546a40f5d944714.tar.zst
freebsd-ports-gnome-ccbadc021cb340aa0c24afcdc546a40f5d944714.zip
Minor fixes.
Approved by: markm
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