pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Add album, a web photo album generator.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c5b96d662ff
branches:  trunk
changeset: 493147:1c5b96d662ff
user:      augustss <augustss%pkgsrc.org@localhost>
date:      Thu Apr 28 15:11:59 2005 +0000

description:
Add album, a web photo album generator.

diffstat:

 www/Makefile               |   4 +++-
 www/album/DESCR            |   3 +++
 www/album/MESSAGE          |   4 ++++
 www/album/Makefile         |  37 +++++++++++++++++++++++++++++++++++++
 www/album/PLIST            |  25 +++++++++++++++++++++++++
 www/album/distinfo         |   6 ++++++
 www/album/patches/patch-aa |  24 ++++++++++++++++++++++++
 www/album_themes/DESCR     |   1 +
 www/album_themes/MESSAGE   |   8 ++++++++
 www/album_themes/Makefile  |  41 +++++++++++++++++++++++++++++++++++++++++
 www/album_themes/distinfo  |   5 +++++
 11 files changed, 157 insertions(+), 1 deletions(-)

diffs (211 lines):

diff -r b720bcad4504 -r 1c5b96d662ff www/Makefile
--- a/www/Makefile      Thu Apr 28 15:06:57 2005 +0000
+++ b/www/Makefile      Thu Apr 28 15:11:59 2005 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.393 2005/04/24 03:02:12 rh Exp $
+# $NetBSD: Makefile,v 1.394 2005/04/28 15:11:59 augustss Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
 
 SUBDIR+=       SpeedyCGI
 SUBDIR+=       adzap
+SUBDIR+=       album
+SUBDIR+=       album_themes
 SUBDIR+=       amaya
 SUBDIR+=       analog
 SUBDIR+=       ap-Embperl
diff -r b720bcad4504 -r 1c5b96d662ff www/album/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/DESCR   Thu Apr 28 15:11:59 2005 +0000
@@ -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 -r b720bcad4504 -r 1c5b96d662ff www/album/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/MESSAGE Thu Apr 28 15:11:59 2005 +0000
@@ -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 -r b720bcad4504 -r 1c5b96d662ff www/album/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/Makefile        Thu Apr 28 15:11:59 2005 +0000
@@ -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@localhost
+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 -r b720bcad4504 -r 1c5b96d662ff www/album/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/PLIST   Thu Apr 28 15:11:59 2005 +0000
@@ -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 -r b720bcad4504 -r 1c5b96d662ff www/album/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/distinfo        Thu Apr 28 15:11:59 2005 +0000
@@ -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 -r b720bcad4504 -r 1c5b96d662ff www/album/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album/patches/patch-aa        Thu Apr 28 15:11:59 2005 +0000
@@ -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;
+    }
diff -r b720bcad4504 -r 1c5b96d662ff www/album_themes/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album_themes/DESCR    Thu Apr 28 15:11:59 2005 +0000
@@ -0,0 +1,1 @@
+Various themes for the web album generator `album'.
diff -r b720bcad4504 -r 1c5b96d662ff www/album_themes/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album_themes/MESSAGE  Thu Apr 28 15:11:59 2005 +0000
@@ -0,0 +1,8 @@
+$NetBSD: MESSAGE,v 1.1 2005/04/28 15:12:00 augustss Exp $
+
+The album themes are installed in
+       ${PREFIX}/${A_DATADIR}
+To make them accessible from your web server you can do something like
+       ln -s ${PREFIX}/${A_DATADIR} ${PREFIX}/${A_HTTPDIR}
+or
+       cp -r ${PREFIX}/${A_DATADIR} ${PREFIX}/${A_HTTPDIR}
diff -r b720bcad4504 -r 1c5b96d662ff www/album_themes/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album_themes/Makefile Thu Apr 28 15:11:59 2005 +0000
@@ -0,0 +1,41 @@
+# $NetBSD $
+#
+
+DISTNAME=      album_themes
+CATEGORIES=    www
+MASTER_SITES=  http://marginalhacks.com/bin/
+
+MAINTAINER=    augustss%NetBSD.org@localhost
+HOMEPAGE=      http://marginalhacks.com/Hacks/album/Download.html
+COMMENT=       Themes for the album generator
+
+DEPENDS+=      album-*:../../www/album
+
+NO_CONFIGURE=  # defined
+NO_BUILD=      # defined
+EXTRACT_ONLY=  # defined
+
+A_DATADIR=     share/Album
+A_HTTPDIR=     share/httpd/htdocs/Album
+
+PLIST_SRC=             ${WRKDIR}/PLIST
+
+MESSAGE_SUBST= A_DATADIR=${A_DATADIR} A_HTTPDIR=${A_HTTPDIR}
+
+# dynamic PLIST generation
+pre-install:
+       @${RM} -f ${PLIST_SRC}
+       @${TAR} -tvzf ${DISTDIR}/${DISTFILES} | \
+        ${SED} -n -e 's,^-.* ,${A_DATADIR}/,p' >> ${PLIST_SRC}
+       @${TAR} -tvzf ${DISTDIR}/${DISTFILES} | \
+        ${SED} -n -e 's,^d.* ,@dirrm ${A_DATADIR}/,p' | ${SORT} -r >> ${PLIST_SRC}
+       @${ECHO} "@dirrm ${A_DATADIR}/Themes" >> ${PLIST_SRC}
+       @${ECHO} "@dirrm ${A_DATADIR}" >> ${PLIST_SRC}
+
+do-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/${A_DATADIR}
+       cd ${PREFIX}/${A_DATADIR}; \
+       ${TAR} -xzf ${DISTDIR}/${DISTFILES}
+
+.include "../../www/apache/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b720bcad4504 -r 1c5b96d662ff www/album_themes/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/album_themes/distinfo Thu Apr 28 15:11:59 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2005/04/28 15:12:00 augustss Exp $
+
+SHA1 (album_themes.tar.gz) = 70f5788ffb09038530eeb8040155da2748599e9c
+RMD160 (album_themes.tar.gz) = a58ea8eabb28834a7196f1e106451398f3dad909
+Size (album_themes.tar.gz) = 804873 bytes



Home | Main Index | Thread Index | Old Index