1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- 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)
This commit is contained in:
Rong-En Fan 2007-07-26 16:07:59 +00:00
parent 6c27ac50f1
commit 5824bf1ad8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196327
3 changed files with 24 additions and 53 deletions

View File

@ -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>

View File

@ -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

View File

@ -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