aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Workflow
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-27 00:07:59 +0800
committerrafan <rafan@FreeBSD.org>2007-07-27 00:07:59 +0800
commitc01ee00ae8dae344f33557392e28799b35ff62ec (patch)
tree9f5572a81a340d222e019af6ab4a97bcad2daf17 /devel/p5-Workflow
parentad5f3b144f6509cea2e8f983527ee2dced96b77c (diff)
downloadfreebsd-ports-gnome-c01ee00ae8dae344f33557392e28799b35ff62ec.tar.gz
freebsd-ports-gnome-c01ee00ae8dae344f33557392e28799b35ff62ec.tar.zst
freebsd-ports-gnome-c01ee00ae8dae344f33557392e28799b35ff62ec.zip
- Update to 0.28
- Respect NOPORTDATA and NOPORTEXAMPLES - Use PORTDATA and PORTEXAMPLES to simplify pkg-plist PR: ports/114619 Submitted by: Sergei Vyshenski <svysh at pn.sinp.msu.ru> (maintainer)
Diffstat (limited to 'devel/p5-Workflow')
-rw-r--r--devel/p5-Workflow/Makefile25
-rw-r--r--devel/p5-Workflow/distinfo6
-rw-r--r--devel/p5-Workflow/pkg-plist46
3 files changed, 24 insertions, 53 deletions
diff --git a/devel/p5-Workflow/Makefile b/devel/p5-Workflow/Makefile
index 10d43981e50f..c63bfedfeeb3 100644
--- a/devel/p5-Workflow/Makefile
+++ b/devel/p5-Workflow/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Workflow
-PORTVERSION= 0.27
+PORTVERSION= 0.28
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Workflow
@@ -65,15 +65,32 @@ MAN3= Workflow.3 \
Workflow::Validator::InEnumeratedType.3 \
Workflow::Validator::MatchesDateFormat.3
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES= *
+.endif
+.if !defined(NOPORTDATA)
+PORTDATA= *
+.endif
.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
post-install:
- @${MKDIR} ${EXAMPLESDIR}/ticket
- @${CP} -R ${WRKSRC}/eg/ticket ${EXAMPLESDIR}/
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/eg && ${COPYTREE_SHARE} ticket/\* ${EXAMPLESDIR}/)
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
+.endif
+.if !defined(NOPORTDATA)
@${MKDIR} ${DATADIR}
- @${CP} -R ${WRKSRC}/struct/* ${DATADIR}/
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} struct/\* ${DATADIR}/)
@${ECHO_MSG} "===> SQL data structures installed in ${DATADIR}."
.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/ && ${CP} -R README Changes TODO VERSION doc ${DOCSDIR}/)
+ @${ECHO_MSG} "===> Docs are installed in ${DOCSDIR}."
+.endif
.include <bsd.port.pre.mk>
diff --git a/devel/p5-Workflow/distinfo b/devel/p5-Workflow/distinfo
index b399d89a2390..4a65c5ee99df 100644
--- a/devel/p5-Workflow/distinfo
+++ b/devel/p5-Workflow/distinfo
@@ -1,3 +1,3 @@
-MD5 (Workflow-0.27.tar.gz) = 0fd7e0ed355000f3a75674c374861d31
-SHA256 (Workflow-0.27.tar.gz) = fec3370d75ef3b28e2b82ba474144947b418df9f29d9909d76b1774454341cd4
-SIZE (Workflow-0.27.tar.gz) = 99933
+MD5 (Workflow-0.28.tar.gz) = eba61920c2a91995994cc946ecfdeb6f
+SHA256 (Workflow-0.28.tar.gz) = 8d3ec4e7ec30b22951bf89bdf7f6b59a90d942d3c9d4a7f502a0c0bad4cbceb2
+SIZE (Workflow-0.28.tar.gz) = 103526
diff --git a/devel/p5-Workflow/pkg-plist b/devel/p5-Workflow/pkg-plist
index 29504299bfc8..f669f04b6498 100644
--- a/devel/p5-Workflow/pkg-plist
+++ b/devel/p5-Workflow/pkg-plist
@@ -29,52 +29,6 @@
%%SITE_PERL%%/Workflow/Validator/InEnumeratedType.pm
%%SITE_PERL%%/Workflow/Validator/MatchesDateFormat.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Workflow/.packlist
-%%DATADIR%%/README
-%%DATADIR%%/workflow_csv.sql
-%%DATADIR%%/workflow_mysql.sql
-%%DATADIR%%/workflow_other.sql
-%%DATADIR%%/workflow_pg.sql
-%%DATADIR%%/workflow_sqlite.sql
-%%EXAMPLESDIR%%/ticket/App/Action/TicketComment.pm
-%%EXAMPLESDIR%%/ticket/App/Action/TicketCreate.pm
-%%EXAMPLESDIR%%/ticket/App/Action/TicketUpdate.pm
-%%EXAMPLESDIR%%/ticket/App/Condition/HasUserAndTicket.pm
-%%EXAMPLESDIR%%/ticket/App/Condition/IsCreator.pm
-%%EXAMPLESDIR%%/ticket/App/Condition/IsWorker.pm
-%%EXAMPLESDIR%%/ticket/App/Ticket.pm
-%%EXAMPLESDIR%%/ticket/App/User.pm
-%%EXAMPLESDIR%%/ticket/App/Web.pm
-%%EXAMPLESDIR%%/ticket/README
-%%EXAMPLESDIR%%/ticket/log4perl.conf
-%%EXAMPLESDIR%%/ticket/ticket.cgi
-%%EXAMPLESDIR%%/ticket/ticket.pl
-%%EXAMPLESDIR%%/ticket/ticket.sql
-%%EXAMPLESDIR%%/ticket/ticket_csv.sql
-%%EXAMPLESDIR%%/ticket/ticket_pg.sql
-%%EXAMPLESDIR%%/ticket/ticket_web.pl
-%%EXAMPLESDIR%%/ticket/web_templates/error.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/error_message.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/index.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/ticket_comment.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/ticket_form.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/workflow_actions.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/workflow_created.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/workflow_fetched.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/workflow_history.tmpl
-%%EXAMPLESDIR%%/ticket/web_templates/workflow_summary.tmpl
-%%EXAMPLESDIR%%/ticket/web_workflow.xml
-%%EXAMPLESDIR%%/ticket/workflow.xml
-%%EXAMPLESDIR%%/ticket/workflow_action.xml
-%%EXAMPLESDIR%%/ticket/workflow_condition.xml
-%%EXAMPLESDIR%%/ticket/workflow_persister.xml
-%%EXAMPLESDIR%%/ticket/workflow_validator.xml
-@dirrm %%EXAMPLESDIR%%/ticket/web_templates
-@dirrm %%EXAMPLESDIR%%/ticket/App/Condition
-@dirrm %%EXAMPLESDIR%%/ticket/App/Action
-@dirrm %%EXAMPLESDIR%%/ticket/App
-@dirrm %%EXAMPLESDIR%%/ticket
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DATADIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Workflow
@dirrm %%SITE_PERL%%/Workflow/Validator
@dirrm %%SITE_PERL%%/Workflow/Persister/DBI