svn commit: r355949 - head/www/p5-Apache-Gallery

Olli Hauer ohauer at FreeBSD.org
Sat May 31 09:54:19 UTC 2014


Author: ohauer
Date: Sat May 31 09:54:18 2014
New Revision: 355949
URL: http://svnweb.freebsd.org/changeset/ports/355949
QAT: https://qat.redports.org/buildarchive/r355949/

Log:
  - cleanup Makefile
   - do not mix pkg-plist and PLIST_(FILES|DIRS|DIRSTRY)
   - MANx is wrong with staging -> correct PERL5_MAN3 in pkg-plist
  
  PR:		ports/188875
  Submitted by:	ohauer
  Approved by:	maintainer timeout (3 weeks)

Modified:
  head/www/p5-Apache-Gallery/Makefile
  head/www/p5-Apache-Gallery/pkg-plist

Modified: head/www/p5-Apache-Gallery/Makefile
==============================================================================
--- head/www/p5-Apache-Gallery/Makefile	Sat May 31 09:46:08 2014	(r355948)
+++ head/www/p5-Apache-Gallery/Makefile	Sat May 31 09:54:18 2014	(r355949)
@@ -28,9 +28,6 @@ USES=		perl5
 USE_PERL5=	configure
 USE_APACHE=	22+
 
-PLIST_DIRSTRY+=	www/icons
-
-MAN3=		Apache::Gallery.3
 DOC_FILES=	INSTALL LICENSE README TODO UPGRADE
 
 SUB_FILES+=	pkg-message
@@ -54,15 +51,7 @@ post-install:
 		${STAGEDIR}/${DATADIR}/templates/default/
 	${INSTALL_DATA} ${WRKSRC}/templates/new/* \
 		${STAGEDIR}/${DATADIR}/templates/new/
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}/${DOCSDIR}/
-.for file in ${DOC_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}/
-.endfor
-.endif
-
-.if !defined(BATCH)
-	@${CAT} ${PKGMESSAGE}
-.endif
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}/${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/www/p5-Apache-Gallery/pkg-plist
==============================================================================
--- head/www/p5-Apache-Gallery/pkg-plist	Sat May 31 09:46:08 2014	(r355948)
+++ head/www/p5-Apache-Gallery/pkg-plist	Sat May 31 09:54:18 2014	(r355949)
@@ -1,6 +1,6 @@
+%%PERL5_MAN3%%/Apache::Gallery.3.gz
 %%SITE_PERL%%/Apache/Gallery.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery/.packlist
-%%PERL5_MAN3%%/Apache::Gallery.3.gz
 %%DATADIR%%/templates/bright/README
 %%DATADIR%%/templates/bright/dircomment.tpl
 %%DATADIR%%/templates/bright/directory.tpl
@@ -18,11 +18,11 @@
 %%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/scale.tpl
 %%DATADIR%%/templates/bright/scaleactive.tpl
 %%DATADIR%%/templates/bright/showpicture.tpl
 %%DATADIR%%/templates/bright/slideshowisoff.tpl
@@ -43,11 +43,11 @@
 %%DATADIR%%/templates/default/nopictureinfo.tpl
 %%DATADIR%%/templates/default/orig.tpl
 %%DATADIR%%/templates/default/picture.tpl
-%%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/scale.tpl
 %%DATADIR%%/templates/default/scaleactive.tpl
 %%DATADIR%%/templates/default/showpicture.tpl
 %%DATADIR%%/templates/default/slideshowisoff.tpl
@@ -68,15 +68,20 @@
 %%DATADIR%%/templates/new/nopictureinfo.tpl
 %%DATADIR%%/templates/new/orig.tpl
 %%DATADIR%%/templates/new/picture.tpl
-%%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/scale.tpl
 %%DATADIR%%/templates/new/scaleactive.tpl
 %%DATADIR%%/templates/new/showpicture.tpl
 %%DATADIR%%/templates/new/slideshowisoff.tpl
 %%DATADIR%%/templates/new/slideshowoff.tpl
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
 www/icons/gallery/agfolder.png
 www/icons/gallery/application-doc.png
 www/icons/gallery/application-pdf.png
@@ -91,18 +96,14 @@ www/icons/gallery/video-mov.png
 www/icons/gallery/video-mpeg.png
 www/icons/gallery/video-mpg.png
 www/icons/gallery/video-wmv.png
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
- at dirrmtry %%SITE_PERL%%/Apache
- at dirrm %%DATADIR%%/templates/bright
- at dirrm %%DATADIR%%/templates/default
+ at dirrm www/icons/gallery
+ at dirrmtry www/icons
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%/templates/new
+ at dirrm %%DATADIR%%/templates/default
+ at dirrm %%DATADIR%%/templates/bright
 @dirrm %%DATADIR%%/templates
 @dirrm %%DATADIR%%
- at dirrm www/icons/gallery
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
+ at dirrmtry %%SITE_PERL%%/Apache


More information about the svn-ports-all mailing list