aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlbr <lbr@FreeBSD.org>2006-07-16 19:52:34 +0800
committerlbr <lbr@FreeBSD.org>2006-07-16 19:52:34 +0800
commit319389911d6677167ec5e038daae78242d7d6f2a (patch)
treee2911704a1f9d649365bb88ab4250e31c5b9bffa /devel
parentdff7e1bdb6db6e715787355df75cb2f4613d7aba (diff)
downloadfreebsd-ports-gnome-319389911d6677167ec5e038daae78242d7d6f2a.tar.gz
freebsd-ports-gnome-319389911d6677167ec5e038daae78242d7d6f2a.tar.zst
freebsd-ports-gnome-319389911d6677167ec5e038daae78242d7d6f2a.zip
Update to 0.31
Added examples
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Class-MOP/Makefile7
-rw-r--r--devel/p5-Class-MOP/distinfo6
-rw-r--r--devel/p5-Class-MOP/pkg-plist9
3 files changed, 18 insertions, 4 deletions
diff --git a/devel/p5-Class-MOP/Makefile b/devel/p5-Class-MOP/Makefile
index da4d4bb9ce2e..832cc409bb3b 100644
--- a/devel/p5-Class-MOP/Makefile
+++ b/devel/p5-Class-MOP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-MOP
-PORTVERSION= 0.30
+PORTVERSION= 0.31
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/S/ST/STEVAN
@@ -34,6 +34,11 @@ MAN3= Class::MOP.3 \
Class::MOP::Package.3 \
metaclass.3
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
diff --git a/devel/p5-Class-MOP/distinfo b/devel/p5-Class-MOP/distinfo
index 4930086e4710..2c18d83aa1af 100644
--- a/devel/p5-Class-MOP/distinfo
+++ b/devel/p5-Class-MOP/distinfo
@@ -1,3 +1,3 @@
-MD5 (Class-MOP-0.30.tar.gz) = 0a23ba7a4de984ecf09325dcd4a6a15f
-SHA256 (Class-MOP-0.30.tar.gz) = 3325d579924e6040f58390913ad3e60a9cf0ff78fb89ad2d1f2363183acc2b2c
-SIZE (Class-MOP-0.30.tar.gz) = 61780
+MD5 (Class-MOP-0.31.tar.gz) = b467b1c7722cca1435c6f7603754121d
+SHA256 (Class-MOP-0.31.tar.gz) = 041340b793a4021a0eff547ff5571072aec69abbd811a5bc2662df70d5a89279
+SIZE (Class-MOP-0.31.tar.gz) = 62354
diff --git a/devel/p5-Class-MOP/pkg-plist b/devel/p5-Class-MOP/pkg-plist
index be9b64b96b58..1c7804e03bab 100644
--- a/devel/p5-Class-MOP/pkg-plist
+++ b/devel/p5-Class-MOP/pkg-plist
@@ -7,6 +7,15 @@
%%SITE_PERL%%/Class/MOP/Module.pm
%%SITE_PERL%%/Class/MOP/Package.pm
%%SITE_PERL%%/metaclass.pm
+%%PORTDOCS%%%%EXAMPLESDIR%%/ArrayBasedStorage.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/AttributesWithHistory.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/C3MethodDispatchOrder.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/ClassEncapsulatedAttributes.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/InsideOutClass.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/InstanceCountingClass.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/LazyClass.pod
+%%PORTDOCS%%%%EXAMPLESDIR%%/Perl6Attribute.pod
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/Class/MOP/Class
@dirrmtry %%SITE_PERL%%/Class/MOP
@dirrmtry %%SITE_PERL%%/Class