aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-08-11 19:28:21 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-08-11 19:28:21 +0800
commit8ab0c50c4fb287fa585842d5745e8117e0c9cdbd (patch)
tree71f02d635ffd8d6849ca300fb4aa0d1819834849
parentfbd048431ec9e57ad39dbedbe17b750d32921a39 (diff)
downloadfreebsd-ports-gnome-8ab0c50c4fb287fa585842d5745e8117e0c9cdbd.tar.gz
freebsd-ports-gnome-8ab0c50c4fb287fa585842d5745e8117e0c9cdbd.tar.zst
freebsd-ports-gnome-8ab0c50c4fb287fa585842d5745e8117e0c9cdbd.zip
Convert PORTDOCS and PORTEXAMPLES to PLIST entries
-rw-r--r--devel/p5-Coro/Makefile7
-rw-r--r--devel/p5-Coro/pkg-plist10
2 files changed, 12 insertions, 5 deletions
diff --git a/devel/p5-Coro/Makefile b/devel/p5-Coro/Makefile
index 9e934ef882c6..1355e86d1b38 100644
--- a/devel/p5-Coro/Makefile
+++ b/devel/p5-Coro/Makefile
@@ -6,7 +6,7 @@ PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:C|0$||}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S|0$||}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Coroutine process abstraction for perl
@@ -24,13 +24,10 @@ RUN_DEPENDS= p5-AnyEvent>=7:devel/p5-AnyEvent \
p5-IO-AIO>=3.1:devel/p5-IO-AIO \
p5-common-sense>=0:devel/p5-common-sense
-OPTIONS_DEFINE= DOCS EXAMPLES
-
USES= perl5 shebangfix
USE_PERL5= configure
-PORTDOCS= *
-PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
SHEBANG_FILES= Coro/*.pl eg/*
perl_OLD_CMD= /.*/bin/perl
diff --git a/devel/p5-Coro/pkg-plist b/devel/p5-Coro/pkg-plist
index 074b834576f8..42d412e3d119 100644
--- a/devel/p5-Coro/pkg-plist
+++ b/devel/p5-Coro/pkg-plist
@@ -50,3 +50,13 @@
%%PERL5_MAN3%%/Coro::Storable.3.gz
%%PERL5_MAN3%%/Coro::Timer.3.gz
%%PERL5_MAN3%%/Coro::Util.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/cede-vs-schedule
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bench
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/event
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lwp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/myhttpd
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prodcons1
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prodcons2
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prodcons3
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/readline