Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/bins/Makefile 2005/01/03 14:03:55 1.28 +++ pkgsrc/www/bins/Makefile 2005/06/17 03:50:40 1.34 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.28 2005/01/03 14:03:55 wiz Exp $ +# $NetBSD: Makefile,v 1.34 2005/06/17 03:50:40 jlam Exp $ # -DISTNAME= bins-1.1.26 +DISTNAME= bins-1.1.27 CATEGORIES= www graphics MASTER_SITES= http://zubro.chez.tiscali.fr/BINS/ EXTRACT_SUFX= .tar.bz2 @@ -18,20 +18,21 @@ DEPENDS+= p5-Image-Size>=2.980:../../gra DEPENDS+= p5-IO-String>=1.01:../../devel/p5-IO-String DEPENDS+= p5-PerlMagick>=5.3.9nb1:../../graphics/p5-PerlMagick DEPENDS+= p5-XML-Grove>=0.46.0.1:../../textproc/p5-XML-Grove -DEPENDS+= p5-XML-Handler>=YAWriter-0.23:../../textproc/p5-XML-YAWriter +DEPENDS+= p5-XML-Handler-YAWriter>=0.23:../../textproc/p5-XML-Handler-YAWriter DEPENDS+= p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser DEPENDS+= p5-HTML-Clean>=0.8:../../www/p5-HTML-Clean DEPENDS+= p5-HTML-Parser>=3.26:../../www/p5-HTML-Parser DEPENDS+= p5-HTML-Template>=2.5:../../www/p5-HTML-Template DEPENDS+= p5-URI>=1.19:../../www/p5-URI -USE_BUILDLINK3= YES USE_PKGLOCALEDIR= YES # bins-edit-gui not installed because many needed packages are missing # bins_txt2xml not installed because it's an upgrade tool, and we didn't # have previous versions in pkgsrc. REPLACE_PERL= bins bins_edit bins-edit-gui bins_cleanupgallery bins_txt2xml +INSTALLATION_DIRS= bin man/man1 + post-patch: ${MV} ${WRKSRC}/bins ${WRKSRC}/bins.bak ${SED} -e 's;/etc/bins;${PKG_SYSCONFDIR}/bins;g' \ @@ -61,9 +62,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/templates.jab/*.html \ ${PREFIX}/share/examples/bins/templates.jab/ # template: joi - ${INSTALL_DATA_DIR} \ - ${PREFIX}/share/examples/bins/templates.joi \ - ${PREFIX}/share/examples/bins/templates.joi/static + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.joi + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.joi/static ${INSTALL_DATA} ${WRKSRC}/templates.joi/*.html \ ${PREFIX}/share/examples/bins/templates.joi/ ${INSTALL_DATA} \ @@ -72,9 +72,8 @@ do-install: ${WRKSRC}/templates.joi/static/*.js \ ${PREFIX}/share/examples/bins/templates.joi/static/ # template: marc - ${INSTALL_DATA_DIR} \ - ${PREFIX}/share/examples/bins/templates.marc \ - ${PREFIX}/share/examples/bins/templates.marc/static + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.marc + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.marc/static ${INSTALL_DATA} ${WRKSRC}/templates.marc/*.html \ ${PREFIX}/share/examples/bins/templates.marc/ ${INSTALL_DATA} \ @@ -87,9 +86,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/templates.new/*.html \ ${PREFIX}/share/examples/bins/templates.new/ # template: petrus - ${INSTALL_DATA_DIR} \ - ${PREFIX}/share/examples/bins/templates.petrus \ - ${PREFIX}/share/examples/bins/templates.petrus/static + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.petrus + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.petrus/static ${INSTALL_DATA} ${WRKSRC}/templates.petrus/*.html \ ${PREFIX}/share/examples/bins/templates.petrus/ ${INSTALL_DATA} \ @@ -98,16 +96,17 @@ do-install: ${WRKSRC}/templates.petrus/static/*.js \ ${PREFIX}/share/examples/bins/templates.petrus/static/ # template: satyap - ${INSTALL_DATA_DIR} \ - ${PREFIX}/share/examples/bins/templates.satyap \ - ${PREFIX}/share/examples/bins/templates.satyap/static + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.satyap + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.satyap/static ${INSTALL_DATA} ${WRKSRC}/templates.satyap/*.html \ ${PREFIX}/share/examples/bins/templates.satyap/ ${INSTALL_DATA} \ ${WRKSRC}/templates.satyap/static/*.css \ ${PREFIX}/share/examples/bins/templates.satyap/static/ # Translations - for lang in de eo es fi fr it ja nl pl ru zh; do \ + for lang in de eo es fi fr it ja nl pl ru zh_TW; do \ + ${INSTALL_DATA_DIR} \ + ${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES; \ ${INSTALL_DATA} ${WRKSRC}/intl/$$lang.mo \ ${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES/bins.mo; \ done