pkgsrc/www/bins/Makefile
dmcmahill 9b7c6fa691 update to bins-1.1.15 changes are:
BINS 1.1.15
-----------

- New parameter linkInsteadOfCopy has been added, to create a link to
the image in the destination directory instead of copying it, when
it's possible.
Patch from Vincent Bernat.

- Correct a bug that crashed bins with Perl 5.8.0
Patch from Marty Leisner

- Include links for movie files (avi, mpeg and mov) in the navigation
bar of albums ("In this album" upper left box).
Patch from Vincent Cautaer.

- Scale method (to created scaled pictures and thumbnails) can now be
chose with the new scaleMethod parameter. It can be either scale or
sample. sample is faster, scale is better.
Idea from Mark W. Eichin.

- Don't perform rotation on files matching the regexp defined by the
new noRotation parameter (default to _Orig suffix). This can be used
in conjunction with scaleIfSameSize=0 and a scaled size of 100%x100%
to keep original pictures in your album.
Patch from Vincent Cautaer.

- Correct a bad behavior with some little pictures when scaled sizes
uses mixed pixels and percentages.
Patch from Vincent Cautaer.

- jpegtran can now be used with image names containing spaces.
Patch from Vincent Bernat.

- Define $verbose earlier to avoid warning.
Patch from Vincent Bernat.

- Chop local encoding to avoid carrier return.
Patch from Vincent Bernat.

- A sample album.xml file is provided in the doc directory. Take a
look at it to see how you can customize a album.
2002-08-31 04:34:21 +00:00

56 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2002/08/31 04:34:21 dmcmahill Exp $
#
DISTNAME= bins-1.1.15
CATEGORIES= www graphics
MASTER_SITES= http://jsautret.free.fr/BINS/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://bins.sautret.org/
COMMENT= static HTML photo album generator
DEPENDS+= p5-Text-Iconv-1.1:../../converters/p5-Text-Iconv
DEPENDS+= p5-Storable>=2.04:../../devel/p5-Storable
DEPENDS+= p5-Image-Info>=1.10:../../graphics/p5-Image-Info
DEPENDS+= p5-Image-Size>=2.980:../../graphics/p5-Image-Size
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-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_PERL5= 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_txt2xml
post-patch:
${MV} ${WRKSRC}/bins ${WRKSRC}/bins.bak
${SED} 's;@pkgsysconfdir@;${PKG_SYSCONFDIR};g' \
${WRKSRC}/bins.bak > ${WRKSRC}/bins
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bins ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bins_edit ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/bins.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/bins_edit.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bins
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${PREFIX}/share/doc/html/bins
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.default
${INSTALL_DATA} ${WRKSRC}/templates/*.html \
${PREFIX}/share/examples/bins/templates.default
${INSTALL_DATA} ${WRKSRC}/binsrc \
${PREFIX}/share/examples/bins
for lang in de fr it pl; do \
${INSTALL_DATA} ${WRKSRC}/intl/$$lang.mo \
${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES/bins.mo; \
done
.include "../../mk/bsd.pkg.mk"