aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-26 16:07:59 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-26 16:07:59 +0000
commit5824bf1ad8c9fe91320eac9052e8fbc0ccfafffb (patch)
tree55f5691dce4dfb48111bb29efd483cfeae4db759 /devel
parent6c27ac50f15bf248a11137dc8a8a66087b5fad9a (diff)
downloadports-5824bf1ad8c9fe91320eac9052e8fbc0ccfafffb.tar.gz
ports-5824bf1ad8c9fe91320eac9052e8fbc0ccfafffb.zip
Notes
Diffstat (limited to 'devel')
-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