aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-16 18:53:40 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-16 18:53:40 +0800
commit23369e066a447df42dbddf1cbc744cc24f3da965 (patch)
tree595151a20e6d1498d295f9e9e0772ca4c504fad2 /devel
parentfe6f20be913693a3cab548769411952ef9411042 (diff)
downloadfreebsd-ports-gnome-23369e066a447df42dbddf1cbc744cc24f3da965.tar.gz
freebsd-ports-gnome-23369e066a447df42dbddf1cbc744cc24f3da965.tar.zst
freebsd-ports-gnome-23369e066a447df42dbddf1cbc744cc24f3da965.zip
- respect NOPORTEXAMPLES
- bump PORTREVISION Submitted by: QA Tindy run Approved by: maintainer timeout
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Class-MOP/Makefile3
-rw-r--r--devel/p5-Class-MOP/pkg-plist18
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/p5-Class-MOP/Makefile b/devel/p5-Class-MOP/Makefile
index 13509b853a8f..aeacf47d8c15 100644
--- a/devel/p5-Class-MOP/Makefile
+++ b/devel/p5-Class-MOP/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Class-MOP
PORTVERSION= 0.54
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -38,8 +39,10 @@ post-extract:
@${PERL} -i.bak -ne 'print unless m,Test::,' ${WRKSRC}/Makefile.PL
post-install:
+.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+.endif
.include <bsd.port.mk>
diff --git a/devel/p5-Class-MOP/pkg-plist b/devel/p5-Class-MOP/pkg-plist
index 85b2fa07171b..9a8581fd5390 100644
--- a/devel/p5-Class-MOP/pkg-plist
+++ b/devel/p5-Class-MOP/pkg-plist
@@ -15,15 +15,15 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Class/MOP/Package.pm
%%SITE_PERL%%/%%PERL_ARCH%%/metaclass.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/MOP/.packlist
-%%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%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ArrayBasedStorage.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/AttributesWithHistory.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/C3MethodDispatchOrder.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ClassEncapsulatedAttributes.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/InsideOutClass.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/InstanceCountingClass.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LazyClass.pod
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Perl6Attribute.pod
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/MOP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Class/MOP/Method