aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Maypole
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-07-17 21:01:13 +0000
committerLars Thegler <lth@FreeBSD.org>2004-07-17 21:01:13 +0000
commit88e49b35e2c07ba3696da75e8a44e83b666983ac (patch)
treeb1ba2af89a595bbdd55385961b339cdf6ef1d6db /www/p5-Maypole
parenta2fa6c231363d71ad94c0775dc063043b0617855 (diff)
downloadports-88e49b35e2c07ba3696da75e8a44e83b666983ac.tar.gz
ports-88e49b35e2c07ba3696da75e8a44e83b666983ac.zip
Notes
Diffstat (limited to 'www/p5-Maypole')
-rw-r--r--www/p5-Maypole/Makefile41
-rw-r--r--www/p5-Maypole/distinfo4
-rw-r--r--www/p5-Maypole/pkg-plist4
3 files changed, 25 insertions, 24 deletions
diff --git a/www/p5-Maypole/Makefile b/www/p5-Maypole/Makefile
index 1cc1eed2a913..c07c28bfd899 100644
--- a/www/p5-Maypole/Makefile
+++ b/www/p5-Maypole/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= Maypole
-PORTVERSION= 1.4
+PORTVERSION= 1.7
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/S/SI/SIMON/
@@ -25,7 +25,7 @@ BUILD_DEPENDS= ${SITE_PERL}/Class/DBI/Loader.pm:${PORTSDIR}/databases/p5-Class-D
${SITE_PERL}/UNIVERSAL/moniker.pm:${PORTSDIR}/devel/p5-UNIVERSAL-moniker \
${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports \
${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
- ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
+ ${SITE_PERL}/Template/Plugin/Class.pm:${PORTSDIR}/www/p5-Template-Plugin-Class
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGMSG_SUB= DOCSDIR=${DOCSDIR} \
@@ -40,6 +40,7 @@ MAN3= Apache::MVC.3 \
Maypole::CLI.3 \
Maypole::Model::Base.3 \
Maypole::Model::CDBI.3 \
+ Maypole::Model::CDBI::Plain.3 \
Maypole::View::Mason.3 \
Maypole::View::TT.3 \
Maypole::Workflow.3
@@ -56,18 +57,20 @@ DOCS= About.pod \
View.pod \
makedoc.pl
EXAMPLES= BeerDB.pm
-TMPL_BEER= addnew
-TMPL_CUSTOM= frontpage \
- header
-TMPL_FACTORY= addnew \
- edit \
- header \
- list \
- macros \
- navbar \
- pager \
- search_form \
- view
+TEMPLATES= beerdb.css \
+ beer/addnew \
+ custom/frontpage \
+ custom/header \
+ factory/addnew \
+ factory/edit \
+ factory/footer \
+ factory/header \
+ factory/list \
+ factory/macros \
+ factory/navbar \
+ factory/pager \
+ factory/search_form \
+ factory/view
pre-patch:
@ ${SED} ${PKGMSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
@@ -87,14 +90,8 @@ post-install:
@ ${MKDIR} ${DATADIR}/templates/beer
@ ${MKDIR} ${DATADIR}/templates/custom
@ ${MKDIR} ${DATADIR}/templates/factory
-.for FILE in ${TMPL_BEER}
- @ ${INSTALL_DATA} ${WRKSRC}/templates/beer/${FILE} ${DATADIR}/templates/beer/
-.endfor
-.for FILE in ${TMPL_CUSTOM}
- @ ${INSTALL_DATA} ${WRKSRC}/templates/custom/${FILE} ${DATADIR}/templates/custom/
-.endfor
-.for FILE in ${TMPL_FACTORY}
- @ ${INSTALL_DATA} ${WRKSRC}/templates/factory/${FILE} ${DATADIR}/templates/factory/
+.for FILE in ${TEMPLATES}
+ @ ${INSTALL_DATA} ${WRKSRC}/templates/${FILE} ${DATADIR}/templates/${FILE}
.endfor
@ ${CAT} ${PKGMESSAGE}
diff --git a/www/p5-Maypole/distinfo b/www/p5-Maypole/distinfo
index 75939c3b6a37..bb2b3d5c412f 100644
--- a/www/p5-Maypole/distinfo
+++ b/www/p5-Maypole/distinfo
@@ -1,2 +1,2 @@
-MD5 (Maypole-1.4.tar.gz) = 36467405c225803624808f5b474be55a
-SIZE (Maypole-1.4.tar.gz) = 66852
+MD5 (Maypole-1.7.tar.gz) = a652ec362e46c5eacd901d2adea6d9f8
+SIZE (Maypole-1.7.tar.gz) = 69126
diff --git a/www/p5-Maypole/pkg-plist b/www/p5-Maypole/pkg-plist
index eec883c24281..aa53fdc3ff8d 100644
--- a/www/p5-Maypole/pkg-plist
+++ b/www/p5-Maypole/pkg-plist
@@ -5,6 +5,7 @@
%%SITE_PERL%%/Maypole/Constants.pm
%%SITE_PERL%%/Maypole/Model/Base.pm
%%SITE_PERL%%/Maypole/Model/CDBI.pm
+%%SITE_PERL%%/Maypole/Model/CDBI/Plain.pm
%%SITE_PERL%%/Maypole/View/Base.pm
%%SITE_PERL%%/Maypole/View/Mason.pm
%%SITE_PERL%%/Maypole/View/TT.pm
@@ -22,11 +23,13 @@
%%PORTDOCS%%%%DOCSDIR%%/View.pod
%%PORTDOCS%%%%DOCSDIR%%/makedoc.pl
%%PORTDOCS%%%%EXAMPLESDIR%%/BeerDB.pm
+%%DATADIR%%/templates/beerdb.css
%%DATADIR%%/templates/beer/addnew
%%DATADIR%%/templates/custom/frontpage
%%DATADIR%%/templates/custom/header
%%DATADIR%%/templates/factory/addnew
%%DATADIR%%/templates/factory/edit
+%%DATADIR%%/templates/factory/footer
%%DATADIR%%/templates/factory/header
%%DATADIR%%/templates/factory/list
%%DATADIR%%/templates/factory/macros
@@ -42,6 +45,7 @@
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Maypole
+@unexec rmdir %D/%%SITE_PERL%%/Maypole/Model/CDBI 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Maypole/Model 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Maypole/View 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Maypole 2>/dev/null || true