diff options
author | wiz <wiz@pkgsrc.org> | 2002-07-04 19:37:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-07-04 19:37:38 +0000 |
commit | 0cee21f3f590e71b0ab060a3951bc85007fffc12 (patch) | |
tree | 86232a3b9e1b6259512049abd402acfd78918923 /www/bins | |
parent | c60907026fd9beecc7deb6b64ee8681f73fe0302 (diff) | |
download | pkgsrc-0cee21f3f590e71b0ab060a3951bc85007fffc12.tar.gz |
Initial import of bins:
The aim of BINS is to generate static HTML photo albums. Some of the
functionalities of BINS are :
* album can contains other albums (sub albums): tree structure
* generation of a thumbnail and of scaled images for each picture
* generated album appearance is fully customizable by using HTML
templates and configuration parameters
* several description fields (date, location, etc...) can be
associated with the pictures (in text or HTML format)
* Exif information and Digital camera support:
o use the EXIF data structure found on some image files (usually,
those produced by digital cameras) to fill automatically some fields
(date and time for example).
o BINS use the Orientation EXIF tag (which is normally set when you
rotate a image on you DigiCam) to rotate the picture to correct
orientation.
o For each image, a page provides all information available on the
picture and the DigiCam settings when the photo was taken.
o All EXIF information is saved in the XML description file,
preventing they disappear when the image is modified
* customizable charset encoding for HTML generation, including UTF-8
(Unicode) support by default. Generation of the Apache .htaccess file
for correct encoding charset in HTTP headers
* generate valid HTML 4 code.
Diffstat (limited to 'www/bins')
-rw-r--r-- | www/bins/DESCR | 23 | ||||
-rw-r--r-- | www/bins/MESSAGE | 10 | ||||
-rw-r--r-- | www/bins/Makefile | 44 | ||||
-rw-r--r-- | www/bins/PLIST | 20 | ||||
-rw-r--r-- | www/bins/distinfo | 4 |
5 files changed, 101 insertions, 0 deletions
diff --git a/www/bins/DESCR b/www/bins/DESCR new file mode 100644 index 00000000000..f8529ff5dba --- /dev/null +++ b/www/bins/DESCR @@ -0,0 +1,23 @@ +The aim of BINS is to generate static HTML photo albums. Some of the +functionalities of BINS are: +* album can contains other albums (sub albums): tree structure +* generation of a thumbnail and of scaled images for each picture +* generated album appearance is fully customizable by using HTML + templates and configuration parameters +* several description fields (date, location, etc...) can be + associated with the pictures (in text or HTML format) +* Exif information and Digital camera support: + o use the EXIF data structure found on some image files (usually, + those produced by digital cameras) to fill automatically some fields + (date and time for example). + o BINS use the Orientation EXIF tag (which is normally set when you + rotate a image on you DigiCam) to rotate the picture to correct + orientation. + o For each image, a page provides all information available on the + picture and the DigiCam settings when the photo was taken. + o All EXIF information is saved in the XML description file, + preventing they disappear when the image is modified +* customizable charset encoding for HTML generation, including UTF-8 + (Unicode) support by default. Generation of the Apache .htaccess file + for correct encoding charset in HTTP headers +* generate valid HTML 4 code. diff --git a/www/bins/MESSAGE b/www/bins/MESSAGE new file mode 100644 index 00000000000..bd8f6472a75 --- /dev/null +++ b/www/bins/MESSAGE @@ -0,0 +1,10 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/07/04 19:37:38 wiz Exp $ + + Before running bins, copy the example templates directory + ${PREFIX}/share/examples/bins/templates.default + into your home directory as + ~/.bins/templates.default + and modify. + +=========================================================================== diff --git a/www/bins/Makefile b/www/bins/Makefile new file mode 100644 index 00000000000..454c9620ed3 --- /dev/null +++ b/www/bins/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/04 19:37:38 wiz Exp $ +# + +DISTNAME= bins-1.1.10 +CATEGORIES= www graphics +MASTER_SITES= http://jsautret.free.fr/BINS/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= wiz@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-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-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 + +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/examples/bins/templates.default + ${INSTALL_DATA} ${WRKSRC}/templates/*.html \ + ${PREFIX}/share/examples/bins/templates.default + 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" diff --git a/www/bins/PLIST b/www/bins/PLIST new file mode 100644 index 00000000000..dd7c1e08388 --- /dev/null +++ b/www/bins/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/04 19:37:38 wiz Exp $ +bin/bins +bin/bins_edit +man/man1/bins.1 +man/man1/bins_edit.1 +share/examples/bins/templates.default/details.html +share/examples/bins/templates.default/footer.html +share/examples/bins/templates.default/image.html +share/examples/bins/templates.default/imagelist.html +share/examples/bins/templates.default/navbar.html +share/examples/bins/templates.default/path.html +share/examples/bins/templates.default/subalbum.html +share/examples/bins/templates.default/thumbnail.html +share/examples/bins/templates.default/tree.html +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/bins.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/bins.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/bins.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/bins.mo +@dirrm share/examples/bins/templates.default +@dirrm share/examples/bins diff --git a/www/bins/distinfo b/www/bins/distinfo new file mode 100644 index 00000000000..3061c02193a --- /dev/null +++ b/www/bins/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/04 19:37:38 wiz Exp $ + +SHA1 (bins-1.1.10.tar.bz2) = 7ed3889654cefa264d22e3b136669701c5f3a9d3 +Size (bins-1.1.10.tar.bz2) = 98777 bytes |