diff options
author | augustss <augustss@pkgsrc.org> | 2005-04-28 15:11:59 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 2005-04-28 15:11:59 +0000 |
commit | d6a161ed41396d811912a9633849a118ca39a0ed (patch) | |
tree | 6b7bfcdc5c0929722df10d4fc6b8bf7d12f4bd8b /www/album | |
parent | 30c11390c518c4517ecf9a806521c516bb02e616 (diff) | |
download | pkgsrc-d6a161ed41396d811912a9633849a118ca39a0ed.tar.gz |
Add album, a web photo album generator.
Diffstat (limited to 'www/album')
-rw-r--r-- | www/album/DESCR | 3 | ||||
-rw-r--r-- | www/album/MESSAGE | 4 | ||||
-rw-r--r-- | www/album/Makefile | 37 | ||||
-rw-r--r-- | www/album/PLIST | 25 | ||||
-rw-r--r-- | www/album/distinfo | 6 | ||||
-rw-r--r-- | www/album/patches/patch-aa | 24 |
6 files changed, 99 insertions, 0 deletions
diff --git a/www/album/DESCR b/www/album/DESCR new file mode 100644 index 00000000000..960c019fadc --- /dev/null +++ b/www/album/DESCR @@ -0,0 +1,3 @@ +Album is HTML photo album generator that supports themes. It takes +directories of images and creates all the thumbnails and HTML that you +need. It's fast, easy to use, and very powerful. diff --git a/www/album/MESSAGE b/www/album/MESSAGE new file mode 100644 index 00000000000..e52f3312295 --- /dev/null +++ b/www/album/MESSAGE @@ -0,0 +1,4 @@ +$NetBSD: MESSAGE,v 1.1 2005/04/28 15:12:00 augustss Exp $ + +To use `album' you also need themes. There are some sample themes in the +album_themes package. diff --git a/www/album/Makefile b/www/album/Makefile new file mode 100644 index 00000000000..5d878ff4c24 --- /dev/null +++ b/www/album/Makefile @@ -0,0 +1,37 @@ +# $NetBSD $ +# + +DISTNAME= album +PKGREVISION= 1 +ALBUMREV= 3.07 +PKGNAME= ${DISTNAME}-${ALBUMREV} +CATEGORIES= www +MASTER_SITES= http://marginalhacks.com/bin/ + +MAINTAINER= augustss@NetBSD.org +HOMEPAGE= http://marginalhacks.com/Hacks/album/Download.html +COMMENT= Generate HTML albums of images + +DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick +DEPENDS+= jhead-[2-9]*:../../graphics/jhead +DEPENDS+= ffmpeg*:../../multimedia/ffmpeg + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +MY_SCRIPT= album + +USE_PERL5= # defined +REPLACE_PERL= ${MY_SCRIPT} + +NO_CONFIGURE= # defined +NO_BUILD= # defined + +do-install: replace-interpreter + ${INSTALL_SCRIPT} ${WRKSRC}/${MY_SCRIPT} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MY_SCRIPT}.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/album + ${INSTALL_DATA} ${WRKSRC}/Docs/[Sa-z]* ${PREFIX}/share/doc/album + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/album/Pics + ${INSTALL_DATA} ${WRKSRC}/Docs/Pics/* ${PREFIX}/share/doc/album/Pics + +.include "../../mk/bsd.pkg.mk" diff --git a/www/album/PLIST b/www/album/PLIST new file mode 100644 index 00000000000..02aafe874f1 --- /dev/null +++ b/www/album/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD $ +bin/album +share/doc/album/Pics/Caption.gif +share/doc/album/Section_1.html +share/doc/album/conf.bak +share/doc/album/conf +share/doc/album/Section_2.html +share/doc/album/Section_3.html +share/doc/album/Section_4.html +share/doc/album/Section_5.html +share/doc/album/Section_6.html +share/doc/album/Section_7.html +share/doc/album/Section_8.html +share/doc/album/Short.html +share/doc/album/index.html +share/doc/album/txt_1 +share/doc/album/txt_2 +share/doc/album/txt_3 +share/doc/album/txt_4 +share/doc/album/txt_5 +share/doc/album/txt_6 +share/doc/album/txt_7 +share/doc/album/txt_8 +@dirrm share/doc/album/Pics +@dirrm share/doc/album diff --git a/www/album/distinfo b/www/album/distinfo new file mode 100644 index 00000000000..d807fd36f51 --- /dev/null +++ b/www/album/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2005/04/28 15:12:00 augustss Exp $ + +SHA1 (album.tar.gz) = 8ebf94792c7f98916ffc3624057ac8b3ff682d77 +RMD160 (album.tar.gz) = 6532da2c1d4eef8d28923029836ede651d69b732 +Size (album.tar.gz) = 99600 bytes +SHA1 (patch-aa) = caf5d961cced6f4b658a8d264e541423ac728aa6 diff --git a/www/album/patches/patch-aa b/www/album/patches/patch-aa new file mode 100644 index 00000000000..2fd3673b2ec --- /dev/null +++ b/www/album/patches/patch-aa @@ -0,0 +1,24 @@ +*** album.orig Wed Mar 9 14:59:01 2005 +--- album Wed Mar 9 15:01:17 2005 +*************** +*** 1308,1318 **** + + unless ($themes) { + # Try to guess path +! $themes = '/var/www/html' unless -x $themes; +! $themes = '/var/www' unless -x $themes; +! $themes = '/home/httpd' unless -x $themes; +! $themes = '/home/http' unless -x $themes; +! $themes = "$ENV{HOME}/public_html" unless -x $themes; + $themes = '' unless -x $themes; + $themes .= "/Themes" if $themes; + } +--- 1308,1314 ---- + + unless ($themes) { + # Try to guess path +! $themes = '/usr/pkg/share/httpd/htdocs/Album' unless -x $themes; +! $themes = '/usr/pkg/share/Album' unless -x $themes; + $themes = '' unless -x $themes; + $themes .= "/Themes" if $themes; + } |