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_themes | |
parent | 30c11390c518c4517ecf9a806521c516bb02e616 (diff) | |
download | pkgsrc-d6a161ed41396d811912a9633849a118ca39a0ed.tar.gz |
Add album, a web photo album generator.
Diffstat (limited to 'www/album_themes')
-rw-r--r-- | www/album_themes/DESCR | 1 | ||||
-rw-r--r-- | www/album_themes/MESSAGE | 8 | ||||
-rw-r--r-- | www/album_themes/Makefile | 41 | ||||
-rw-r--r-- | www/album_themes/distinfo | 5 |
4 files changed, 55 insertions, 0 deletions
diff --git a/www/album_themes/DESCR b/www/album_themes/DESCR new file mode 100644 index 00000000000..358e1784443 --- /dev/null +++ b/www/album_themes/DESCR @@ -0,0 +1 @@ +Various themes for the web album generator `album'. diff --git a/www/album_themes/MESSAGE b/www/album_themes/MESSAGE new file mode 100644 index 00000000000..c34b096aa2b --- /dev/null +++ b/www/album_themes/MESSAGE @@ -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 --git a/www/album_themes/Makefile b/www/album_themes/Makefile new file mode 100644 index 00000000000..6b9ef79a91e --- /dev/null +++ b/www/album_themes/Makefile @@ -0,0 +1,41 @@ +# $NetBSD $ +# + +DISTNAME= album_themes +CATEGORIES= www +MASTER_SITES= http://marginalhacks.com/bin/ + +MAINTAINER= augustss@NetBSD.org +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 --git a/www/album_themes/distinfo b/www/album_themes/distinfo new file mode 100644 index 00000000000..dcd20544d0e --- /dev/null +++ b/www/album_themes/distinfo @@ -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 |