www/p5-Apache-Gallery misuses TEMPLATES, breaks readme target

PR:		ports/48192
Submitted by:	Bruce A. Mah <bmah@packetdesign.com>
Reviewed by:	erwin@lansing.dk
This commit is contained in:
Edwin Groothuis 2003-02-12 20:48:05 +00:00
parent 8085471b6b
commit 7b45745d2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75390

View file

@ -32,7 +32,7 @@ PERL_CONFIGURE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Apache::Gallery.3
TEMPLATES= directory.tpl error.tpl index.tpl info.tpl layout.tpl \
TEMPLATEFILES= directory.tpl error.tpl index.tpl info.tpl layout.tpl \
movie.tpl navpicture.tpl orig.tpl picture.tpl scale.tpl \
showpicture.tpl
ICONS= folder.png video-avi.png video-asf.png video-mov.png \
@ -44,7 +44,7 @@ post-configure:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/Apache-Gallery/templates
.for f in ${TEMPLATES}
.for f in ${TEMPLATEFILES}
${INSTALL_DATA} ${WRKSRC}/templates/${f} \
${PREFIX}/share/Apache-Gallery/templates/
.endfor