aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Gallery
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2011-03-01 01:43:17 +0800
committerbrix <brix@FreeBSD.org>2011-03-01 01:43:17 +0800
commita0520f9058fdcf824a3a97d4b2287adf3ea27ef8 (patch)
tree70dfc5b8733b142e8ecfad84a80af9e26e56e812 /www/p5-Apache-Gallery
parent8832e625e58c4d40a790a133d95af09a4fde28a9 (diff)
downloadfreebsd-ports-gnome-a0520f9058fdcf824a3a97d4b2287adf3ea27ef8.tar.gz
freebsd-ports-gnome-a0520f9058fdcf824a3a97d4b2287adf3ea27ef8.tar.zst
freebsd-ports-gnome-a0520f9058fdcf824a3a97d4b2287adf3ea27ef8.zip
- Update to v1.0.1
Diffstat (limited to 'www/p5-Apache-Gallery')
-rw-r--r--www/p5-Apache-Gallery/Makefile12
-rw-r--r--www/p5-Apache-Gallery/distinfo4
-rw-r--r--www/p5-Apache-Gallery/pkg-plist33
3 files changed, 44 insertions, 5 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile
index ba842fb9a46e..7a8bc3719d09 100644
--- a/www/p5-Apache-Gallery/Makefile
+++ b/www/p5-Apache-Gallery/Makefile
@@ -6,14 +6,12 @@
#
PORTNAME= Apache-Gallery
-PORTVERSION= 1.0.r3
-PORTREVISION= 5
+PORTVERSION= 1.0.1
PORTEPOCH= 2
CATEGORIES= www perl5
MASTER_SITES= http://apachegallery.dk/download/ \
CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r3//}RC3
MAINTAINER= brix@FreeBSD.org
COMMENT= Apache::Gallery - mod_perl handler to create an image gallery
@@ -26,6 +24,7 @@ BUILD_DEPENDS= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
RUN_DEPENDS= ${BUILD_DEPENDS}
+LICENSE= ART10
PERL_CONFIGURE= yes
USE_APACHE= 1.3+
@@ -42,12 +41,19 @@ DOC_FILES= INSTALL LICENSE README TODO UPGRADE
SUB_FILES+= pkg-message
+post-patch:
+ @${CP} ${WRKSRC}/templates/bright/navdirectory.tpl ${WRKSRC}/templates/default
+ @${CP} ${WRKSRC}/templates/bright/navdirectory.tpl ${WRKSRC}/templates/new
+
post-install:
@${MKDIR} ${PREFIX}/www/icons/gallery/
${INSTALL_DATA} ${WRKSRC}/htdocs/* \
${PREFIX}/www/icons/gallery/
+ @${MKDIR} ${DATADIR}/templates/bright
@${MKDIR} ${DATADIR}/templates/default
@${MKDIR} ${DATADIR}/templates/new
+ ${INSTALL_DATA} ${WRKSRC}/templates/bright/* \
+ ${DATADIR}/templates/bright/
${INSTALL_DATA} ${WRKSRC}/templates/default/* \
${DATADIR}/templates/default/
${INSTALL_DATA} ${WRKSRC}/templates/new/* \
diff --git a/www/p5-Apache-Gallery/distinfo b/www/p5-Apache-Gallery/distinfo
index 081c60702c57..71af3438f7f1 100644
--- a/www/p5-Apache-Gallery/distinfo
+++ b/www/p5-Apache-Gallery/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Apache-Gallery-1.0RC3.tar.gz) = 9a7ab7566d811bb21dd27bc9a27cdcfb2c7a96c01727ad9a04313fc80e68e1f7
-SIZE (Apache-Gallery-1.0RC3.tar.gz) = 83891
+SHA256 (Apache-Gallery-1.0.1.tar.gz) = da4ddad7540ebb4ef6f6a7250690f519c2dedf079fdb357cc4e6b14aac5098d8
+SIZE (Apache-Gallery-1.0.1.tar.gz) = 88524
diff --git a/www/p5-Apache-Gallery/pkg-plist b/www/p5-Apache-Gallery/pkg-plist
index f363a6172be7..5859fc270429 100644
--- a/www/p5-Apache-Gallery/pkg-plist
+++ b/www/p5-Apache-Gallery/pkg-plist
@@ -1,5 +1,31 @@
%%SITE_PERL%%/Apache/Gallery.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery/.packlist
+%%DATADIR%%/templates/bright/README
+%%DATADIR%%/templates/bright/dircomment.tpl
+%%DATADIR%%/templates/bright/directory.tpl
+%%DATADIR%%/templates/bright/error.tpl
+%%DATADIR%%/templates/bright/file.tpl
+%%DATADIR%%/templates/bright/gallery.css
+%%DATADIR%%/templates/bright/index.tpl
+%%DATADIR%%/templates/bright/info.tpl
+%%DATADIR%%/templates/bright/interval.tpl
+%%DATADIR%%/templates/bright/intervalactive.tpl
+%%DATADIR%%/templates/bright/layout.tpl
+%%DATADIR%%/templates/bright/navdirectory.tpl
+%%DATADIR%%/templates/bright/navpicture.tpl
+%%DATADIR%%/templates/bright/nodircomment.tpl
+%%DATADIR%%/templates/bright/nopictureinfo.tpl
+%%DATADIR%%/templates/bright/orig.tpl
+%%DATADIR%%/templates/bright/picture.tpl
+%%DATADIR%%/templates/bright/scale.tpl
+%%DATADIR%%/templates/bright/pictureinfo.tpl
+%%DATADIR%%/templates/bright/refresh.tpl
+%%DATADIR%%/templates/bright/rss.tpl
+%%DATADIR%%/templates/bright/rss_item.tpl
+%%DATADIR%%/templates/bright/scaleactive.tpl
+%%DATADIR%%/templates/bright/showpicture.tpl
+%%DATADIR%%/templates/bright/slideshowisoff.tpl
+%%DATADIR%%/templates/bright/slideshowoff.tpl
%%DATADIR%%/templates/default/dircomment.tpl
%%DATADIR%%/templates/default/directory.tpl
%%DATADIR%%/templates/default/error.tpl
@@ -10,6 +36,7 @@
%%DATADIR%%/templates/default/interval.tpl
%%DATADIR%%/templates/default/intervalactive.tpl
%%DATADIR%%/templates/default/layout.tpl
+%%DATADIR%%/templates/default/navdirectory.tpl
%%DATADIR%%/templates/default/navpicture.tpl
%%DATADIR%%/templates/default/nodircomment.tpl
%%DATADIR%%/templates/default/nopictureinfo.tpl
@@ -18,6 +45,8 @@
%%DATADIR%%/templates/default/scale.tpl
%%DATADIR%%/templates/default/pictureinfo.tpl
%%DATADIR%%/templates/default/refresh.tpl
+%%DATADIR%%/templates/default/rss.tpl
+%%DATADIR%%/templates/default/rss_item.tpl
%%DATADIR%%/templates/default/scaleactive.tpl
%%DATADIR%%/templates/default/showpicture.tpl
%%DATADIR%%/templates/default/slideshowisoff.tpl
@@ -32,6 +61,7 @@
%%DATADIR%%/templates/new/interval.tpl
%%DATADIR%%/templates/new/intervalactive.tpl
%%DATADIR%%/templates/new/layout.tpl
+%%DATADIR%%/templates/new/navdirectory.tpl
%%DATADIR%%/templates/new/navpicture.tpl
%%DATADIR%%/templates/new/nodircomment.tpl
%%DATADIR%%/templates/new/nopictureinfo.tpl
@@ -40,6 +70,8 @@
%%DATADIR%%/templates/new/scale.tpl
%%DATADIR%%/templates/new/pictureinfo.tpl
%%DATADIR%%/templates/new/refresh.tpl
+%%DATADIR%%/templates/new/rss.tpl
+%%DATADIR%%/templates/new/rss_item.tpl
%%DATADIR%%/templates/new/scaleactive.tpl
%%DATADIR%%/templates/new/showpicture.tpl
%%DATADIR%%/templates/new/slideshowisoff.tpl
@@ -66,6 +98,7 @@ www/icons/gallery/video-wmv.png
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
@dirrmtry %%SITE_PERL%%/Apache
+@dirrm %%DATADIR%%/templates/bright
@dirrm %%DATADIR%%/templates/default
@dirrm %%DATADIR%%/templates/new
@dirrm %%DATADIR%%/templates